[U-Boot] [PATCH v2 06/10] net: pch_gbe: Make 64 bit safe

Joe Hershberger joe.hershberger at gmail.com
Fri Jul 29 16:13:14 CEST 2016


On Wed, Jul 27, 2016 at 9:26 AM, Paul Burton <paul.burton at imgtec.com> wrote:
> The pch_gbe driver previously casted pointers to & from unsigned 32 bit
> integers in many locations. This breaks the driver on 64 bit systems,
> producing streams of compiler warnings about mismatched pointer &
> integer sizes and then failing to keep track of addresses correctly at
> runtime.
>
> Fix the driver for 64 bit systems by using unsigned longs in place of
> the previously used 32 bit integers.
>
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list