summaryrefslogtreecommitdiff
path: root/proc.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
commit7aebca65f569ceb5fd8a12bef5fa6b58f277683d (patch)
treed24596b0445d3a21ca5db4af480aa6e71bc74ae8 /proc.h
parentdce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (diff)
mausezahn: Make sure '\0' is written after strncpy
Make sure params is always NULL-terminated as strncpy() doesn't guarantee this. Closes #134 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proc.h')
0 files changed, 0 insertions, 0 deletions
/linux/net-next.git/commit/arch/arm/boot/dts/imx6dl-sabrelite.dts?h=nds-private-remove&id=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>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/imx6dl-sabrelite.dts')