* [PATCH] HID: lg-g15: fix kernel-doc comment for TEST_BIT
@ 2026-08-21 23:37 hanzhijian
0 siblings, 0 replies; only message in thread
From: hanzhijian @ 2026-08-21 23:37 UTC (permalink / raw)
To: Hans de Goede, Jiri Kosina, Benjamin Tissoires
Cc: linux-input, linux-kernel, hanzhijian
The comment for the TEST_BIT() macro starts with "/**" but lacks the
macro name line, so scripts/kernel-doc reports "isn't a kernel-doc
comment" and it is silently dropped from the generated documentation.
Add the missing name line.
Signed-off-by: hanzhijian <hanzhijian1991@gmail.com>
---
drivers/hid/hid-lg-g15.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c
index 02ef3e209..c22820243 100644
--- a/drivers/hid/hid-lg-g15.c
+++ b/drivers/hid/hid-lg-g15.c
@@ -35,7 +35,10 @@
#define LG_G13_BACKLIGHT_HW_ON_BIT 23
/**
- * g13_input_report.keybits[] is not 32-bit aligned, so we can't use the bitops macros.
+ * TEST_BIT() - Test a bit in an unaligned byte array
+ *
+ * g13_input_report.keybits[] is not 32-bit aligned, so we cannot use
+ * the bitops macros.
*
* @ary: Pointer to array of u8s
* @b: Bit index into ary, LSB first. Not range checked.
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 23:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-21 23:37 [PATCH] HID: lg-g15: fix kernel-doc comment for TEST_BIT hanzhijian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox