[U-Boot] [PATCH v6 07/12] net: pch_gbe: Make 64 bit safe

Joe Hershberger joe.hershberger at gmail.com
Thu Aug 4 18:31:00 CEST 2016


On Thu, Aug 4, 2016 at 5:29 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