[PATCH v3 -next] tpm: Fix the type of the return value in calc_tpm2_event_size()

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Wed Feb 20 08:52:31 UTC 2019

On Wed, Feb 20, 2019 at 04:25:38PM +0800, Yue Haibing wrote:
> 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 at vger.kernel.org>
> Fixes: 4d23cc323cdb ("tpm: add securityfs support for TPM 2.0 firmware event log")
> Suggested-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>
> Signed-off-by: Yue Haibing <yuehaibing at huawei.com>
> ---
> v3: fix My real name and cc stable
> v2: modify patch title and commit message as Jarkko suggested


Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen at linux.intel.com>


More information about the Linux-security-module-archive mailing list