* [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment
@ 2026-11-23 0:45 Randy Dunlap
2026-11-23 8:05 ` Linus Walleij
2026-11-23 14:23 ` Bartosz Golaszewski
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-11-23 0:45 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jim Cromie, Andrew Morton, linux-gpio,
Linus Walleij, Bartosz Golaszewski
Change a "/**" non-kernel-doc comment to a plain C comment "/*"
to avoid 21 warnings like these:
Warning: ./include/linux/nsc_gpio.h:2 Cannot find identifier on line:
nsc_gpio.c
Warning: ./include/linux/nsc_gpio.h:4 Cannot find identifier on line:
National Semiconductor GPIO common access methods.
Warning: ./include/linux/nsc_gpio.h:6 Cannot find identifier on line:
struct nsc_gpio_ops abstracts the low-level access
Fixes: fe3a168a2ce1 ("[PATCH] chardev: GPIO for SCx200 & PC-8736x: add gpio-ops vtable")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Jim Cromie <jim.cromie@gmail.com>
---
v2: rebase & resend;
add Ack from Jim Cromie;
add Linus and Bartosz
Cc: Jim Cromie <jim.cromie@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-gpio@vger.kernel.org
Cc: Linus Walleij <linusw@kernel.org>
Cc: Bartosz Golaszewski <brgl@kernel.org>
include/linux/nsc_gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20261120.orig/include/linux/nsc_gpio.h
+++ linux-next-20261120/include/linux/nsc_gpio.h
@@ -1,5 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0 */
-/**
+/*
nsc_gpio.c
National Semiconductor GPIO common access methods.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment
2026-11-23 0:45 [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment Randy Dunlap
@ 2026-11-23 8:05 ` Linus Walleij
2026-11-23 14:23 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2026-11-23 8:05 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jim Cromie, Andrew Morton, linux-gpio, Bartosz Golaszewski
On Mon, Nov 23, 2026 at 1:45 AM Randy Dunlap <rdunlap@infradead.org> wrote:
> Change a "/**" non-kernel-doc comment to a plain C comment "/*"
> to avoid 21 warnings like these:
>
> Warning: ./include/linux/nsc_gpio.h:2 Cannot find identifier on line:
> nsc_gpio.c
> Warning: ./include/linux/nsc_gpio.h:4 Cannot find identifier on line:
> National Semiconductor GPIO common access methods.
> Warning: ./include/linux/nsc_gpio.h:6 Cannot find identifier on line:
> struct nsc_gpio_ops abstracts the low-level access
>
> Fixes: fe3a168a2ce1 ("[PATCH] chardev: GPIO for SCx200 & PC-8736x: add gpio-ops vtable")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Acked-by: Jim Cromie <jim.cromie@gmail.com>
For the patch:
Acked-by: Linus Walleij <linusw@kernel.org>
For this stuff's existance:
$ git grep 'nsc_gpio\.h'
drivers/char/nsc_gpio.c:#include <linux/nsc_gpio.h>
drivers/char/pc8736x_gpio.c:#include <linux/nsc_gpio.h>
drivers/char/scx200_gpio.c:#include <linux/nsc_gpio.h>
drivers/leds/leds-net48xx.c:#include <linux/nsc_gpio.h>
Blaeh, we need to get this "necessarily different" stuff in line.
I'm not blaming anyone because it may very well predate gpiolib,
what could they do.
I'll analyze.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment
2026-11-23 0:45 [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment Randy Dunlap
2026-11-23 8:05 ` Linus Walleij
@ 2026-11-23 14:23 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2026-11-23 14:23 UTC (permalink / raw)
To: linux-kernel, Randy Dunlap
Cc: Bartosz Golaszewski, Jim Cromie, Andrew Morton, linux-gpio,
Linus Walleij, Bartosz Golaszewski
On Sun, 22 Nov 2026 16:45:01 -0800, Randy Dunlap wrote:
> Change a "/**" non-kernel-doc comment to a plain C comment "/*"
> to avoid 21 warnings like these:
>
> Warning: ./include/linux/nsc_gpio.h:2 Cannot find identifier on line:
> nsc_gpio.c
> Warning: ./include/linux/nsc_gpio.h:4 Cannot find identifier on line:
> National Semiconductor GPIO common access methods.
> Warning: ./include/linux/nsc_gpio.h:6 Cannot find identifier on line:
> struct nsc_gpio_ops abstracts the low-level access
>
> [...]
So this isn't really a header for a GPIOLIB-based driver and technically
outside of my jurisdiction but it's also not seen any changes for 20 years so
let me take it and see if anyone yells.
[1/1] chardev: GPIO common access methods: repair non-kernel-doc comment
https://git.kernel.org/brgl/c/d4dc896fa2bdfd7d1a78911598a0fa3e3c831d92
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-23 14:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 0:45 [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment Randy Dunlap
2026-11-23 8:05 ` Linus Walleij
2026-11-23 14:23 ` Bartosz Golaszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®