summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/include/mach
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-03-23 04:28:16 (GMT)
committerTom Rini <trini@konsulko.com>2016-04-01 21:17:40 (GMT)
commite320f0bc9b81076e4c59d281dff1428df5324809 (patch)
tree98e3b03a35130da955ce4e07c47c5f1836112d17 /arch/arm/mach-keystone/include/mach
parentf8bb69643550fccbf1df514deda53089da7940e3 (diff)
downloadu-boot-e320f0bc9b81076e4c59d281dff1428df5324809.tar.xz
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 <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>
Diffstat (limited to 'arch/arm/mach-keystone/include/mach')
0 files changed, 0 insertions, 0 deletions