Re: [PATCH v3] gpio: EN7523: fix kernel-doc warnings
From: Bartosz Golaszewski
Date: Mon Jan 15 2024 - 17:16:40 EST
On Mon, Jan 15, 2024 at 7:56 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Add "struct" keyword and explain the @dir array differently to
> prevent kernel-doc warnings:
>
> gpio-en7523.c:22: warning: cannot understand function prototype: 'struct airoha_gpio_ctrl '
> gpio-en7523.c:27: warning: Function parameter or struct member 'dir' not described in 'airoha_gpio_ctrl'
> gpio-en7523.c:27: warning: Excess struct member 'dir0' description in 'airoha_gpio_ctrl'
> gpio-en7523.c:27: warning: Excess struct member 'dir1' description in 'airoha_gpio_ctrl'
>
> Fixes: 0868ad385aff ("gpio: Add support for Airoha EN7523 GPIO controller")
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: John Crispin <john@xxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Bartosz Golaszewski <brgl@xxxxxxxx>
> Cc: Felix Fietkau <nbd@xxxxxxxx>
> Cc: linux-gpio@xxxxxxxxxxxxxxx
> ---
Applied, thanks!
Bart