[PATCH] HID: lg-g15: fix kernel-doc comment for TEST_BIT
hanzhijian <[email protected]>
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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