Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

security: keys: Modify mismatched function name

No functional modification involved.

security/keys/trusted-keys/trusted_tpm2.c:203: warning: expecting prototype for tpm_buf_append_auth(). Prototype was for tpm2_buf_append_auth() instead.

Fixes: 2e19e10131a0 ("KEYS: trusted: Move TPM2 trusted keys code")
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5524
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>

authored by

Jiapeng Chong and committed by
Jarkko Sakkinen
2a415274 ecff6813

+1 -1
+1 -1
security/keys/trusted-keys/trusted_tpm2.c
··· 186 186 } 187 187 188 188 /** 189 - * tpm_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer. 189 + * tpm2_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer. 190 190 * 191 191 * @buf: an allocated tpm_buf instance 192 192 * @session_handle: session handle