hwmon: (yogafan) fix non-kernel-doc comment
Subsystems (2)
PATCH 1/1 hwmon: (yogafan) fix non-kernel-doc comment
The file description comment starts with "/**" which is reserved for kernel-doc comments, triggering a kernel-doc checker warning. Change it to a plain "/*" comment since it does not document any function or struct.
--- drivers/hwmon/yogafan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/yogafan.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * yoga_fan.c - Lenovo Yoga/Legion Fan Hardware Monitoring Driver * * Provides fan speed monitoring for Lenovo Yoga, Legion, and IdeaPad
Signature · 1 line
2.43.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
The file description comment starts with "/**" which is reserved for kernel-doc comments, triggering a kernel-doc checker warning. Change it to a plain "/*" comment since it does not document any function or struct.
Signed-off-by hanzhijian <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Please drop this patch as well. It is a trivial cleanup that only silences the kernel-doc checker and does not fix a real problem.
hanzhijian
Quoted 6 lines · hanzhijian
The file description comment starts with "/**" which is reserved for kernel-doc comments, triggering a kernel-doc checker warning. Change it to a plain "/*" comment since it does not document any function or struct.
Signed-off-by hanzhijian <[email protected]>
Applied.
Thanks,
Guenter
Quoted 15 lines
--- drivers/hwmon/yogafan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/yogafan.c +1
-1@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * yoga_fan.c - Lenovo Yoga/Legion Fan Hardware Monitoring Driver * * Provides fan speed monitoring for Lenovo Yoga, Legion, and IdeaPad
PATCH v2 1/1 hwmon: (yogafan) fix non-kernel-doc comment
In reply to hanzhijianThe file description comment starts with "/**", which is reserved for kernel-doc comments. scripts/kernel-doc then warns when building the documentation:
Warning: drivers/hwmon/yogafan.c:2 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
Change it to a plain "/*" comment since it does not document any function or struct.
--- drivers/hwmon/yogafan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/yogafan.c +1 -1
@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * yoga_fan.c - Lenovo Yoga/Legion Fan Hardware Monitoring Driver * * Provides fan speed monitoring for Lenovo Yoga, Legion, and IdeaPad
Signature · 1 line
2.43.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 4 lines
The file description comment starts with "/**", which is reserved for kernel-doc comments.
scripts/kernel-docthen warns when building the documentation:
Quoted 8 lines
Warning:
drivers/hwmon/yogafan.c:2This comment starts with '/**', but isn't a kernel-doc comment. Refer toDocumentation/doc-guide/kernel-doc.rstChange it to a plain "/*" comment since it does not document any function or struct.
Signed-off-by hanzhijian <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Guenter Roeck
maintainerQuoted 4 lines · hanzhijian
The file description comment starts with "/**", which is reserved for kernel-doc comments.
scripts/kernel-docthen warns when building the documentation:
Quoted 8 lines
Warning:
drivers/hwmon/yogafan.c:2This comment starts with '/**', but isn't a kernel-doc comment. Refer toDocumentation/doc-guide/kernel-doc.rstChange it to a plain "/*" comment since it does not document any function or struct.
Signed-off-by hanzhijian <[email protected]>
No change log, no change other than the commit message, that change does not add any value, and I already applied this patch and sent out a note that I did.
Are you playing with me ? I am inclined to drop this patch.
Guenter
Quoted 15 lines
--- drivers/hwmon/yogafan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/yogafan.c +1
-1@@ -1,5 +1,5 @@// SPDX-License-Identifier: GPL-2.0-only -/** +/* * yoga_fan.c - Lenovo Yoga/Legion Fan Hardware Monitoring Driver * * Provides fan speed monitoring for Lenovo Yoga, Legion, and IdeaPad
My apologies, Guenter. You are right, and I'm sorry for the noise.
I sent the "please drop" note by mistake, then over-corrected by resending it as v2 with no code change. That was the wrong way to handle it.
Please drop the patch entirely. Sorry for wasting your time.
hanzhijian