diff options
author | Jarkko Sakkinen <jarkko@kernel.org> | 2024-10-28 07:49:59 +0200 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2024-10-28 17:22:01 +0200 |
commit | d658d59471ed80c4a8aaf082ccc3e83cdf5ae4c1 (patch) | |
tree | afe1b1372e5151d5030cbd4289908d2b12ac79c9 /drivers/pci/quirks.c | |
parent | 81983758430957d9a5cb3333fe324fd70cf63e7e (diff) |
tpm: Return tpm2_sessions_init() when null key creation fails
Do not continue tpm2_sessions_init() further if the null key pair creation
fails.
Cc: stable@vger.kernel.org # v6.10+
Fixes: d2add27cf2b8 ("tpm: Add NULL primary creation")
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions