mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] security: keys: Modify mismatched function name
@ 2023-06-14  2:18 Jiapeng Chong
  2023-06-14 21:52 ` Paul Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Jiapeng Chong @ 2023-06-14  2:18 UTC (permalink / raw)
  To: jejb
  Cc: jarkko, zohar, dhowells, paul, jmorris, serge, linux-integrity,
	keyrings, linux-security-module, linux-kernel, Jiapeng Chong,
	Abaci Robot

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.

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>
---
 security/keys/trusted-keys/trusted_tpm2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/trusted-keys/trusted_tpm2.c b/security/keys/trusted-keys/trusted_tpm2.c
index 2b2c8eb258d5..bc700f85f80b 100644
--- a/security/keys/trusted-keys/trusted_tpm2.c
+++ b/security/keys/trusted-keys/trusted_tpm2.c
@@ -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
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] security: keys: Modify mismatched function name
  2023-06-14  2:18 [PATCH] security: keys: Modify mismatched function name Jiapeng Chong
@ 2023-06-14 21:52 ` Paul Moore
  2023-07-10 19:20   ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Moore @ 2023-06-14 21:52 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: jejb, jarkko, zohar, dhowells, jmorris, serge, linux-integrity,
	keyrings, linux-security-module, linux-kernel, Abaci Robot

On Tue, Jun 13, 2023 at 10:18 PM Jiapeng Chong
<jiapeng.chong@linux.alibaba.com> wrote:
>
> 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.
>
> 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>
> ---
>  security/keys/trusted-keys/trusted_tpm2.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Paul Moore <paul@paul-moore.com>

-- 
paul-moore.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] security: keys: Modify mismatched function name
  2023-06-14 21:52 ` Paul Moore
@ 2023-07-10 19:20   ` Jarkko Sakkinen
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Sakkinen @ 2023-07-10 19:20 UTC (permalink / raw)
  To: Paul Moore, Jiapeng Chong
  Cc: jejb, zohar, dhowells, jmorris, serge, linux-integrity, keyrings,
	linux-security-module, linux-kernel, Abaci Robot

On Wed, 2023-06-14 at 17:52 -0400, Paul Moore wrote:
> On Tue, Jun 13, 2023 at 10:18 PM Jiapeng Chong
> <jiapeng.chong@linux.alibaba.com> wrote:
> > 
> > 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.
> > 
> > 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>
> > ---
> >  security/keys/trusted-keys/trusted_tpm2.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Reviewed-by: Paul Moore <paul@paul-moore.com>
> 

Thanks, I'll pick this.

BR, Jarkko


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-10 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14  2:18 [PATCH] security: keys: Modify mismatched function name Jiapeng Chong
2023-06-14 21:52 ` Paul Moore
2023-07-10 19:20   ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®