diff options
author | David S. Miller <davem@davemloft.net> | 2016-08-15 15:26:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 11:31:58 -0700 |
commit | d0796b555ba60c22eb41ae39a8362156cb08eee9 (patch) | |
tree | 0d254f4e2a9161310692e0010c9c040cb5eae902 | |
parent | 0096ac9f47b1a2e851b3165d44065d18e5f13d58 (diff) |
sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
Report the exact number of bytes which have not been successfully
copied when an exception occurs, using the running remaining length.
Signed-off-by: David S. Miller <davem@davemloft.net>
370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff) |
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct
pegasus, use stats from struct net_device. Also remove the now
unnecessary .ndo_get_stats function.
Cc: Petko Manolov <petkan@nucleusys.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/arm/boot/dts/imx28-cfa10049.dts')