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

Vladimir Zapolskiy vz at mleia.com
Sun Jul 12 03:51:28 EDT 2020


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 at huawei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>

Acked-by: Vladimir Zapolskiy <vz at mleia.com>

--
Best wishes,
Vladimir



More information about the linux-arm-kernel mailing list