From: hanzhijian <hanzhijian1991@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
hanzhijian <hanzhijian1991@gmail.com>
Subject: [PATCH v2] hwmon: (yogafan) fix non-kernel-doc comment
Date: Sun, 23 Aug 2026 09:38:41 +0800 [thread overview]
Message-ID: <20260823013841.2884472-1-hanzhijian1991@gmail.com> (raw)
In-Reply-To: <20260821115720.2017516-1-hanzhijian1991@gmail.com>
The 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.
Signed-off-by: hanzhijian <hanzhijian1991@gmail.com>
---
drivers/hwmon/yogafan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/yogafan.c b/drivers/hwmon/yogafan.c
index 48fa5148d..278cb089b 100644
--- a/drivers/hwmon/yogafan.c
+++ b/drivers/hwmon/yogafan.c
@@ -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
--
2.43.0
next prev parent reply other threads:[~2026-08-23 1:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 11:57 [PATCH] hwmon: (yogafan) fix non-kernel-doc comment hanzhijian
2026-08-21 12:01 ` sashiko-bot
2026-08-21 14:04 ` hanzhijian
2026-08-21 14:24 ` Guenter Roeck
2026-08-23 1:38 ` hanzhijian [this message]
2026-08-23 1:39 ` [PATCH v2] " sashiko-bot
2026-08-23 4:26 ` Guenter Roeck
2026-08-24 12:55 ` hanzhijian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260823013841.2884472-1-hanzhijian1991@gmail.com \
--to=hanzhijian1991@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox