[PATCH 07/10] gpio: gpio-it87: Fix formatting issues which confuse kerneldoc

Linus Walleij linus.walleij at linaro.org
Wed Jul 8 03:19:18 EDT 2020


On Tue, Jun 30, 2020 at 3:33 PM Lee Jones <lee.jones at linaro.org> wrote:

> Kerneldoc expects struct properties to be documented using the syntax
> '@.*: ', but no ':' has been provided in 'struct it87_gpio's
> header.  Add them to stop confusing kerneldoc.
>
> Fixes the following W=1 warnings:
>
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'chip' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'lock' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'io_base' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'io_size' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'output_base' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'simple_base' not described in 'it87_gpio'
>  drivers/gpio/gpio-it87.c:69: warning: Function parameter or member 'simple_size' not described in 'it87_gpio'
>
> Cc: "Diego Elio Pettenò" <flameeyes at flameeyes.eu>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list