aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-03-17 11:35:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 13:53:16 +0100
commite0e9052034e34f2f7016197e27764f3587de87fe (patch)
treea92dccfe442568abe0857cf32047c865f639511e /tools/perf/scripts/python/net_dropmonitor.py
parentUSB: adutux: drop redundant sanity check (diff)
downloadlinux-e0e9052034e34f2f7016197e27764f3587de87fe.tar.gz
linux-e0e9052034e34f2f7016197e27764f3587de87fe.zip
USB: adutux: fix up error paths
Make sure to return -ENOMEM on all allocation failures and -EIO on a string-retrieval error (instead of returning -ENODEV for some such errors). Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions