Re: [U-Boot] [PATCH 11/13] usb: ehci-hcd: Build warning fixes for 64-bit

2015-03-25 Thread Marek Vasut
On Friday, March 20, 2015 at 12:41:26 PM, Thierry Reding wrote: > From: Thierry Reding > > Fix a slew of pointer to integer cast size mismatch warnings caused by > this driver explicitly casting pointers to 32-bit integers. While it is > true that the hardware can only deal with 32-bit addresses,

[U-Boot] [PATCH 11/13] usb: ehci-hcd: Build warning fixes for 64-bit

2015-03-20 Thread Thierry Reding
From: Thierry Reding Fix a slew of pointer to integer cast size mismatch warnings caused by this driver explicitly casting pointers to 32-bit integers. While it is true that the hardware can only deal with 32-bit addresses, truncating using a cast isn't the right solution because the pointer coul