lkml.org 
[lkml]   [2020]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 17/32] usb: host: ehci-fsl: Fix incorrectly named function argument
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/usb/host/ehci-fsl.c:694: warning: Function parameter or member 'pdev' not described in 'fsl_ehci_drv_remove'
    drivers/usb/host/ehci-fsl.c:694: warning: Excess function parameter 'dev' description in 'fsl_ehci_drv_remove'

    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: Randy Vinson <rvinson@mvista.com>
    Cc: Dave Liu <daveliu@freescale.com>
    Cc: Jerry Huang <Chang-Ming.Huang@freescale.com>
    Cc: Anton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/usb/host/ehci-fsl.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
    index 9e9c232e896fa..1ebe4d425277d 100644
    --- a/drivers/usb/host/ehci-fsl.c
    +++ b/drivers/usb/host/ehci-fsl.c
    @@ -683,7 +683,7 @@ static const struct ehci_driver_overrides ehci_fsl_overrides __initconst = {

    /**
    * fsl_ehci_drv_remove - shutdown processing for FSL-based HCDs
    - * @dev: USB Host Controller being removed
    + * @pdev: USB Host Controller being removed
    * Context: !in_interrupt()
    *
    * Reverses the effect of usb_hcd_fsl_probe().
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-06 15:36    [W:4.131 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site