Stephen Warren
e320f0bc9b
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>
2016-04-01 17:17:40 -04:00
..
2015-11-02 10:38:00 +09:00
2016-01-24 12:07:19 +08:00
2016-03-22 12:16:16 -04:00
2016-01-08 10:15:43 -05:00
2016-04-01 00:17:08 +09:00
2016-03-17 10:27:24 +08:00
2015-07-14 18:03:16 -06:00
2016-03-29 08:46:22 -07:00
2016-03-27 09:12:23 -04:00
2015-08-12 20:47:44 -04:00
2016-03-14 15:34:50 -06:00
2016-02-23 16:14:46 +05:30
2016-03-24 09:47:43 +01:00
2016-04-01 08:17:55 -04:00
2016-01-27 15:32:05 +01:00
2016-04-01 00:17:13 +09:00
2016-03-17 10:27:24 +08:00
2015-09-02 21:28:22 -06:00
2015-11-10 09:19:52 -05:00
2016-03-14 19:21:44 -04:00
2016-04-01 08:17:55 -04:00
2016-04-01 00:16:55 +09:00
2016-03-31 14:29:11 +02:00
2016-02-05 12:47:21 +08:00
2016-03-21 12:42:13 -07:00
2015-01-05 12:08:55 -05:00
2016-04-01 00:57:19 +09:00
2016-04-01 09:52:28 +02:00
2016-02-16 09:17:53 -07:00
2016-02-24 08:51:14 -08:00
2015-08-18 13:46:02 -04:00
2016-03-14 19:18:37 -04:00
2015-11-04 15:19:12 -08:00
2016-04-01 00:17:07 +09:00
2016-02-06 12:00:59 +01:00
2015-08-18 13:46:05 -04:00
2016-03-15 14:50:09 -04:00
2016-01-07 17:53:11 +01:00
2016-03-14 19:21:44 -04:00
2016-01-28 21:01:22 -07:00
2013-10-31 13:26:01 -04:00
2016-04-01 17:17:40 -04:00
2016-03-27 20:58:08 -04:00
2016-01-07 17:54:53 +01:00
2016-01-21 20:42:36 -07:00
2016-02-01 22:14:01 +01:00