1
0
Fork 0
alistair23-linux/drivers/char/tpm/eventlog
Yue Haibing b9d0a85d6b tpm: Fix the type of the return value in calc_tpm2_event_size()
calc_tpm2_event_size() has an invalid signature because
it returns a 'size_t' where as its signature says that
it returns 'int'.

Cc: <stable@vger.kernel.org>
Fixes: 4d23cc323c ("tpm: add securityfs support for TPM 2.0 firmware event log")
Suggested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
2019-04-08 15:58:54 -07:00
..
acpi.c tpm: Move eventlog declarations to its own header 2018-05-09 14:45:46 +03:00
common.c tpm: Move eventlog declarations to its own header 2018-05-09 14:45:46 +03:00
common.h tpm: Move eventlog declarations to its own header 2018-05-09 14:45:46 +03:00
efi.c tpm: replace kmalloc() + memcpy() with kmemdup() 2018-05-14 13:59:52 +03:00
of.c tpm: replace kmalloc() + memcpy() with kmemdup() 2018-05-14 13:59:43 +03:00
tpm1.c tpm: Fix off-by-one when reading binary_bios_measurements 2019-02-13 09:47:00 +02:00
tpm2.c tpm: Fix the type of the return value in calc_tpm2_event_size() 2019-04-08 15:58:54 -07:00