[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180605084019.GA8665@kroah.com>
Date: Tue, 5 Jun 2018 10:40:19 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Dongjiu Geng <gengdongjiu@...wei.com>
Cc: mathias.nyman@...el.com, thierry.reding@...il.com,
jonathanh@...dia.com, linux-usb@...r.kernel.org,
linux-tegra@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: xhci: remove the code build warning
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@...wei.com>
> ---
Any hint as to what commit caused this warning to show up?
thanks,
greg k-h
Powered by blists - more mailing lists