diff options
| author | Stephen Warren <[email protected]> | 2016-03-22 22:28:16 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-04-01 17:17:40 -0400 |
| commit | e320f0bc9b81076e4c59d281dff1428df5324809 (patch) | |
| tree | 98e3b03a35130da955ce4e07c47c5f1836112d17 /scripts/cleanpatch | |
| parent | f8bb69643550fccbf1df514deda53089da7940e3 (diff) | |
smsc95xx: fix operation on 64-bit systems
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 <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
