Re: [PATCH] usb: xhci: remove the code build warning

From: Greg KH
Date: Tue Jun 05 2018 - 04:40:49 EST


On Wed, Jun 06, 2018 at 12:35:00AM +0800, Dongjiu Geng wrote:
> Initialize the 'err' variate to remove the build warning,
> the warning is shown as below:
>
> drivers/usb/host/xhci-tegra.c: In function âtegra_xusb_mbox_threadâ:
> drivers/usb/host/xhci-tegra.c:552:6: warning: âerrâ may be used uninitialized in this function [-Wuninitialized]
> drivers/usb/host/xhci-tegra.c:482:6: note: âerrâ was declared here
>
> Signed-off-by: Dongjiu Geng <gengdongjiu@xxxxxxxxxx>
> ---

Any hint as to what commit caused this warning to show up?

thanks,

greg k-h