Skip to contentSkip to conversation

ACPI: watchdog: fix kernel-doc warnings

PATCH Applied Randy Dunlap 2 participants 2 messages Dec 5, 2023 – Dec 12, 2023 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: watchdog: fix kernel-doc warnings

Fix kernel-doc warnings found when using "W=1".

acpi_watchdog.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst acpi_watchdog.c:85: warning: missing initial short description on line:
* Returns true if this system should prefer ACPI based watchdog instead of

---
 drivers/acpi/acpi_watchdog.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpi_watchdog.c +1 -1
diff -- a/drivers/acpi/acpi_watchdog.c b/drivers/acpi/acpi_watchdog.c
@@ -81,7 +81,7 @@ static const struct acpi_table_wdat *acp
 	return wdat;
 }
 
-/**
+/*
  * Returns true if this system should prefer ACPI based watchdog instead of
  * the native one (which are typically the same hardware).
  */
maintainer Applied
#1 lore raw
Quoted 19 lines · Randy Dunlap

Fix kernel-doc warnings found when using "W=1".

acpi_watchdog.c:85: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst acpi_watchdog.c:85: warning: missing initial short description on line:
* Returns true if this system should prefer ACPI based watchdog instead of

---
 drivers/acpi/acpi_watchdog.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/drivers/acpi/acpi_watchdog.c b/drivers/acpi/acpi_watchdog.c

drivers/acpi/acpi_watchdog.c static const struct acpi_table_wdat *acp · line 87

Quoted 8 lines
drivers/acpi/acpi_watchdog.c +1 -1
@@ -81,7 +81,7 @@ static const struct acpi_table_wdat *acp
        return wdat;
 }
 
-/**
+/*
  * Returns true if this system should prefer ACPI based watchdog instead of
  * the native one (which are typically the same hardware).
  */

Applied as 6.8 material, thanks!