Re: [PATCH v2] chardev: GPIO common access methods: repair non-kernel-doc comment

From: Linus Walleij

Date: Mon Nov 23 2026 - 03:10:41 EST


On Mon, Nov 23, 2026 at 1:45 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
> Acked-by: Jim Cromie <jim.cromie@xxxxxxxxx>

For the patch:
Acked-by: Linus Walleij <linusw@xxxxxxxxxx>

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