diff options
author | 2024-10-28 07:49:59 +0200 | |
---|---|---|
committer | 2024-10-28 17:22:01 +0200 | |
commit | d658d59471ed80c4a8aaf082ccc3e83cdf5ae4c1 (patch) | |
tree | afe1b1372e5151d5030cbd4289908d2b12ac79c9 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.12-rc5 (diff) | |
download | linux-rng-d658d59471ed80c4a8aaf082ccc3e83cdf5ae4c1.tar.xz linux-rng-d658d59471ed80c4a8aaf082ccc3e83cdf5ae4c1.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions