[U-Boot] smsc95xx: fix operation on 64-bit systems
Tom Rini
trini at konsulko.com
Sat Apr 2 03:55:54 CEST 2016
On Tue, Mar 22, 2016 at 10:28:16PM -0600, Stephen Warren 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: Marek Vasut <marex at denx.de>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160401/5d9d0d0b/attachment.sig>
More information about the U-Boot
mailing list