summaryrefslogtreecommitdiff
path: root/curve_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'curve_test.c')
0 files changed, 0 insertions, 0 deletions
ecd07e04b027013e931287ff&id2=8da07a393f48864a87c61bb1dfbee640d9b97fd6'>diff)
ptp: use memdup_user().
Use memdup_user to duplicate a memory region from user-space to kernel-space, instead of open coding using kmalloc & copy_from_user. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat
7003'>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/sh/include/asm')