Skip to contentSkip to conversation

powerpc/pseries: PLPKS: undo kernel-doc comment notation

PATCH Applied Randy Dunlap 2 participants 2 messages Aug 10, 2023 – Aug 23, 2023 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/pseries: PLPKS: undo kernel-doc comment notation

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")
Link lore.kernel.org/r/[email protected]
Cc Nayna Jain <[email protected]>
Cc Michael Ellerman <[email protected]>
---
 arch/powerpc/platforms/pseries/plpks.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/pseries/plpks.c +1 -1
diff -- 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.
  */
#1 lore raw
Quoted 8 lines · Randy Dunlap

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