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: 4d23cc323cdb ("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
..
2019-03-06 09:41:12 -08:00
2018-03-14 19:13:47 +01:00
2018-06-05 11:24:55 -07:00
2019-02-26 12:53:55 +01:00
2019-01-22 10:21:45 +01:00
2018-05-16 07:23:35 +02:00
2019-01-22 10:21:45 +01:00
2016-01-22 18:04:28 -05:00
2018-06-12 16:19:22 -07:00
2019-01-01 13:24:31 -08:00