Skip to content

Commit

Permalink
security: keys: Modify mismatched function name
Browse files Browse the repository at this point in the history
[ Upstream commit 2a41527 ]

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: 2e19e10 ("KEYS: trusted: Move TPM2 trusted keys code")
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5524
Signed-off-by: Jiapeng Chong <[email protected]>
Reviewed-by: Paul Moore <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
Jiapeng Chong authored and gregkh committed Jul 27, 2023
1 parent 0fb37ce commit 87fc961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/keys/trusted-keys/trusted_tpm2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @session_handle: session handle
Expand Down

0 comments on commit 87fc961

Please sign in to comment.