Re: [PATCH] USB / dwc3: Fix three doc-build warnings

From: Greg KH
Date: Sun Mar 27 2022 - 05:53:42 EST


On Sun, Mar 27, 2022 at 03:05:05PM +0530, kushagra765@xxxxxxxxxxx wrote:
> Two kerneldoc comments in gadget.c have excess function parameter description or wrong
> prototype name and one kerneldoc comment in core.c has a excess function parameter
> description, resulting in these three doc-build warnings:
>
> 1. ./drivers/usb/dwc3/gadget.c:675: warning: Excess function parameter
> 'nfifos' description in 'dwc3_gadget_calc_tx_fifo_size'
> 2. ./drivers/usb/dwc3/gadget.c:700: warning: expecting prototype for
> dwc3_gadget_clear_tx_fifo_size(). Prototype was for dwc3_gadget_clear_tx_fifos()
> instead
> 3. ./drivers/usb/dwc3/core.c:347: warning: Excess function parameter 'ref_clk_per'
> description in 'dwc3_ref_clk_period'
>
> Fix the warnings by correcting the prototype name and removing excess parameter descriptions.
>
> Signed-off-by: Kushagra Verma <kushagra765@xxxxxxxxxxx>

Your "From:" name in your email does not match this name :(

Please fix up and resend.

thanks,

greg k-h