diff options
author | Jarkko Sakkinen <[email protected]> | 2016-04-25 12:20:07 +0300 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2016-06-25 17:26:35 +0300 |
commit | c0dff1f4519e3b3c322415b822724d4207156859 (patch) | |
tree | 3f2f2897be4dce9f1c5c11191dc2e4f93e5cab3c /lib/cpu-notifier-error-inject.c | |
parent | 422eac3f7deae34dbaffd08e03e27f37a5394a56 (diff) |
tpm: check for TPM_CHIP_FLAG_TPM2 before calling tpm2_shutdown()
Fixes: 20e0152393b41 ("tpm: fix crash in tpm_tis deinitialization")
Signed-off-by: Jarkko Sakkinen <[email protected]>
Reported-by: Stefan Berger <[email protected]>
Tested-by: Stefan Berger <[email protected]>
Reviewed-By: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions