Re: [PATCH] usb: fotg210-udc: fix function kernel-doc comments

From: Linus Walleij
Date: Thu Dec 07 2023 - 05:04:20 EST


On Wed, Dec 6, 2023 at 7:13 PM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> Correct kernel-doc comments to prevent warnings from
> scripts/kernel-doc.
>
> fotg210-udc.c:1103: warning: Function parameter or member 'g' not described in 'fotg210_vbus_session'
> fotg210-udc.c:1103: warning: Excess function parameter '_gadget' description in 'fotg210_vbus_session'
> fotg210-udc.c:1103: warning: No description found for return value of 'fotg210_vbus_session'
> fotg210-udc.c:1129: warning: No description found for return value of 'fotg210_phy_event'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: linux-usb@xxxxxxxxxxxxxxx

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks for fixing this Randy!

Yours,
Linus Walleij