summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-11-25 09:26:20 +0100
committerTobias Klauser <tklauser@distanz.ch>2013-11-25 09:26:46 +0100
commit6feb59668308a326ec979b7992613138b986c985 (patch)
treef7a3cedee0966cf8ce213dcfe0b486698fe42d70 /privs.h
parentb9c04d953676c63c9e069a9ada1bb589860b470b (diff)
trafgen: Check return value of system()
Check the return value of system() when invoking CPP in the BPF parser and bail out in case of an error. This fixes the following compiler warning: trafgen_parser.y:598:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions
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/orion5x-linkstation-lsgl.dts')