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

Stephen Warren swarren at wwwdotorg.org
Fri Mar 20 17:10:55 CET 2015


On 03/20/2015 05:41 AM, Thierry Reding wrote:
> From: Thierry Reding <treding at 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 <swarren at nvidia.com>



More information about the U-Boot mailing list