mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
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: 2e19e10131
("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>
This commit is contained in:
parent
ecff6813d2
commit
2a41527420
@ -186,7 +186,7 @@ int tpm2_key_priv(void *context, size_t hdrlen,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* tpm_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer.
|
* tpm2_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer.
|
||||||
*
|
*
|
||||||
* @buf: an allocated tpm_buf instance
|
* @buf: an allocated tpm_buf instance
|
||||||
* @session_handle: session handle
|
* @session_handle: session handle
|
||||||
|
Loading…
Reference in New Issue
Block a user