linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/pseries: PLPKS: undo kernel-doc comment notation
@ 2023-08-10  0:07 Randy Dunlap
  2023-08-23 11:55 ` Michael Ellerman
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2023-08-10  0:07 UTC (permalink / raw)
  To: linux-kernel; +Cc: Nayna Jain, Randy Dunlap, linuxppc-dev, kernel test robot

Don't use kernel-doc "/**" comment format for non-kernel-doc comments.
This prevents a kernel-doc warning:

  arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
  * Label is combination of label attributes + name.

Fixes: 2454a7af0f2a ("powerpc/pseries: define driver for Platform KeyStore")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: lore.kernel.org/r/202308040430.GxmPAnwZ-lkp@intel.com
Cc: Nayna Jain <nayna@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
---
 arch/powerpc/platforms/pseries/plpks.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/arch/powerpc/platforms/pseries/plpks.c b/arch/powerpc/platforms/pseries/plpks.c
--- a/arch/powerpc/platforms/pseries/plpks.c
+++ b/arch/powerpc/platforms/pseries/plpks.c
@@ -194,7 +194,7 @@ static struct plpks_auth *construct_auth
 	return auth;
 }
 
-/**
+/*
  * Label is combination of label attributes + name.
  * Label attributes are used internally by kernel and not exposed to the user.
  */

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

* Re: [PATCH] powerpc/pseries: PLPKS: undo kernel-doc comment notation
  2023-08-10  0:07 [PATCH] powerpc/pseries: PLPKS: undo kernel-doc comment notation Randy Dunlap
@ 2023-08-23 11:55 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2023-08-23 11:55 UTC (permalink / raw)
  To: linux-kernel, Randy Dunlap; +Cc: Nayna Jain, linuxppc-dev, kernel test robot

On Wed, 09 Aug 2023 17:07:40 -0700, Randy Dunlap wrote:
> Don't use kernel-doc "/**" comment format for non-kernel-doc comments.
> This prevents a kernel-doc warning:
> 
>   arch/powerpc/platforms/pseries/plpks.c:186: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>   * Label is combination of label attributes + name.
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/pseries: PLPKS: undo kernel-doc comment notation
      https://git.kernel.org/powerpc/c/506e550a7da9e995bea3bd585db591068f98b2bf

cheers

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

end of thread, other threads:[~2023-08-23 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10  0:07 [PATCH] powerpc/pseries: PLPKS: undo kernel-doc comment notation Randy Dunlap
2023-08-23 11:55 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).