summaryrefslogtreecommitdiff
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2021-03-10 17:19:16 -0500
committerJarkko Sakkinen <jarkko@kernel.org>2021-04-14 16:30:30 +0300
commit9716ac65efc8f780549b03bddf41e60c445d4709 (patch)
tree4ec00dce1ae6d2e4eaa229f6b81393c870c33c8a /fs/cachefiles
parent3dcd15665aca80197333500a4be3900948afccc1 (diff)
downloadlwn-9716ac65efc8f780549b03bddf41e60c445d4709.tar.gz
lwn-9716ac65efc8f780549b03bddf41e60c445d4709.zip
tpm: vtpm_proxy: Avoid reading host log when using a virtual device
Avoid allocating memory and reading the host log when a virtual device is used since this log is of no use to that driver. A virtual device can be identified through the flag TPM_CHIP_FLAG_VIRTUAL, which is only set for the tpm_vtpm_proxy driver. Cc: stable@vger.kernel.org Fixes: 6f99612e2500 ("tpm: Proxy driver for supporting multiple emulated TPMs") Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions