Re: [U-Boot] [PATCH 09/13] usb: ci_udc: Build warning fixes for 64-bit

2015-03-25 Thread Marek Vasut
On Friday, March 20, 2015 at 12:41:24 PM, Thierry Reding wrote:
 From: Thierry Reding tred...@nvidia.com
 
 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 could still be
 outside of the space addressable using 32-bit addresses.
 
 Cc: Ɓukasz Majewski l.majew...@samsung.com
 Cc: Marek Vasut ma...@denx.de
 Signed-off-by: Thierry Reding tred...@nvidia.com

I'll be picking the one from Rob here.

Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 09/13] usb: ci_udc: Build warning fixes for 64-bit

2015-03-20 Thread Stephen Warren

On 03/20/2015 05:41 AM, Thierry Reding wrote:

From: Thierry Reding tred...@nvidia.com

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 could still be
outside of the space addressable using 32-bit addresses.


Seems reasonable at a quick glance,
Acked-by: Stephen Warren swar...@nvidia.com

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot