
23 Mar
2016
23 Mar
'16
5:15 p.m.
On Tue, Mar 22, 2016 at 11:28 PM, Stephen Warren swarren@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@anholt.net Signed-off-by: Stephen Warren swarren@wwwdotorg.org
Acked-by: Joe Hershberger joe.hershberger@ni.com