[U-Boot] [PATCH] smsc95xx: fix operation on 64-bit systems

Joe Hershberger joe.hershberger at gmail.com
Wed Mar 23 17:15:33 CET 2016


On Tue, Mar 22, 2016 at 11:28 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> smsc95xx_read_reg() should calculate sizeof(*data) not sizeof(data) since
> data is a pointer, and the value pointed at is being transferred over USB,
> not the value of the pointer. This fixes operation of the driver in 64-bit
> builds, such as the Raspberry Pi 3.
>
> Reported-by: Eric Anholt <eric at anholt.net>
> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>

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


More information about the U-Boot mailing list