Re: [PATCH] usb: misc: usb3503: Update error code in print message

2014-06-23 Thread Greg KH
On Mon, Jun 23, 2014 at 11:47:35AM +0530, Tushar Behera wrote: > On 06/17/2014 04:54 PM, Marek Szyprowski wrote: > > Hello, > > > > On 2014-06-17 13:08, Tushar Behera wrote: > >> 'err' is uninitialized, rather print the error code directly. > >> > >> This also fixes following warning. > >> drivers

Re: [PATCH] usb: misc: usb3503: Update error code in print message

2014-06-22 Thread Tushar Behera
On 06/17/2014 04:54 PM, Marek Szyprowski wrote: > Hello, > > On 2014-06-17 13:08, Tushar Behera wrote: >> 'err' is uninitialized, rather print the error code directly. >> >> This also fixes following warning. >> drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’: >> drivers/usb/misc/usb3503.c

Re: [PATCH] usb: misc: usb3503: Update error code in print message

2014-06-17 Thread Marek Szyprowski
Hello, On 2014-06-17 13:08, Tushar Behera wrote: 'err' is uninitialized, rather print the error code directly. This also fixes following warning. drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’: drivers/usb/misc/usb3503.c:195:11: warning: ‘err’ may be used uninitialized in this function

[PATCH] usb: misc: usb3503: Update error code in print message

2014-06-17 Thread Tushar Behera
'err' is uninitialized, rather print the error code directly. This also fixes following warning. drivers/usb/misc/usb3503.c: In function ‘usb3503_probe’: drivers/usb/misc/usb3503.c:195:11: warning: ‘err’ may be used uninitialized in this function [-Wmaybe-uninitialized] dev_err(dev, "unable to