diff options
| author | Jerry Snitselaar <[email protected]> | 2019-10-29 17:37:51 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-10-31 08:40:17 +0000 |
| commit | 2bb6a81633cb47dcba4c9f75605cbe49e6b73d60 (patch) | |
| tree | e0d57f873055d0625dd6d5dc196fdb0f1874cbfe /net/unix/af_unix.c | |
| parent | efi: Make CONFIG_EFI_RCI2_TABLE selectable on x86 only (diff) | |
| download | kernel-2bb6a81633cb47dcba4c9f75605cbe49e6b73d60.tar.gz kernel-2bb6a81633cb47dcba4c9f75605cbe49e6b73d60.zip | |
efi/tpm: Return -EINVAL when determining tpm final events log size fails
Currently nothing checks the return value of efi_tpm_eventlog_init(),
but in case that changes in the future make sure an error is
returned when it fails to determine the tpm final events log
size.
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Jerry Snitselaar <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Fixes: e658c82be556 ("efi/tpm: Only set 'efi_tpm_final_log_size' after ...")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
