Re: [PATCH -next] udc: lpc32xx: make symbol 'lpc32xx_usbddata' static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/7/20 1:53 PM, Wei Yongjun wrote:
> The sparse tool complains as follows:
> 
> drivers/usb/gadget/udc/lpc32xx_udc.c:2989:25: warning:
>  symbol 'lpc32xx_usbddata' was not declared. Should it be static?
> 
> This variable is not used outside of lpc32xx_udc.c, so this commit
> marks it static.
> 
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx>

Acked-by: Vladimir Zapolskiy <vz@xxxxxxxxx>

--
Best wishes,
Vladimir



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux