[PATCH v2] hwmon: (yogafan) fix non-kernel-doc comment
hanzhijian <[email protected]>
| Newsgroups | gmane.linux.kernel.hwmon,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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