
2 Apr
2016
2 Apr
'16
3:55 a.m.
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@anholt.net Signed-off-by: Stephen Warren swarren@wwwdotorg.org Acked-by: Marek Vasut marex@denx.de Acked-by: Joe Hershberger joe.hershberger@ni.com
Applied to u-boot/master, thanks!
--
Tom