Re: [U-Boot] [PATCH 2/2] usb: dwc3: fix build warnings

2015-11-27 Thread Marek Vasut
On Friday, October 16, 2015 at 10:09:19 PM, Felipe Balbi wrote: > Felipe Balbi writes: > > fix the following build warnings: > > > > drivers/usb/dwc3/core.c: In function ‘dwc3_uboot_init’: > > drivers/usb/dwc3/core.c:625:6: warning: ‘dev’ is used uninitialized in > > this function

Re: [U-Boot] [PATCH 2/2] usb: dwc3: fix build warnings

2015-10-16 Thread Felipe Balbi
Felipe Balbi writes: > fix the following build warnings: > > drivers/usb/dwc3/core.c: In function ‘dwc3_uboot_init’: > drivers/usb/dwc3/core.c:625:6: warning: ‘dev’ is used uninitialized in this > function [-Wuninitialized] > mem = devm_kzalloc(dev, sizeof(*dwc) + DWC3_ALIGN_MASK,

[U-Boot] [PATCH 2/2] usb: dwc3: fix build warnings

2015-10-01 Thread Felipe Balbi
fix the following build warnings: drivers/usb/dwc3/core.c: In function ‘dwc3_uboot_init’: drivers/usb/dwc3/core.c:625:6: warning: ‘dev’ is used uninitialized in this function [-Wuninitialized] mem = devm_kzalloc(dev, sizeof(*dwc) + DWC3_ALIGN_MASK, GFP_KERNEL); ^