aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorJerry Snitselaar <jsnitsel@redhat.com>2019-10-29 18:37:51 +0100
committerIngo Molnar <mingo@kernel.org>2019-10-31 09:40:17 +0100
commit2bb6a81633cb47dcba4c9f75605cbe49e6b73d60 (patch)
treee0d57f873055d0625dd6d5dc196fdb0f1874cbfe /include/linux/security.h
parentefi: Make CONFIG_EFI_RCI2_TABLE selectable on x86 only (diff)
downloadlinux-dev-2bb6a81633cb47dcba4c9f75605cbe49e6b73d60.tar.xz
linux-dev-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 <dan.carpenter@oracle.com> Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Fixes: e658c82be556 ("efi/tpm: Only set 'efi_tpm_final_log_size' after ...") Link: https://lkml.kernel.org/r/20191029173755.27149-3-ardb@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/security.h')
0 files changed, 0 insertions, 0 deletions