aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-01-04 21:28:34 +0100
committerFelipe Balbi <balbi@kernel.org>2016-03-04 15:14:31 +0200
commit3163c79efa653ea9832acb8efe55efd34a5f4ae6 (patch)
tree0411d4149db3bf8ecd68ead87d493de779ee74b2 /tools/perf/scripts/python/netdev-times.py
parentusb: f_fs: fix memory leak when ep changes during transfer (diff)
downloadlinux-3163c79efa653ea9832acb8efe55efd34a5f4ae6.tar.gz
linux-3163c79efa653ea9832acb8efe55efd34a5f4ae6.zip
usb: f_fs: fix ffs_epfile_io returning success on req alloc failure
In the AIO path, if allocating of a request failse, the function simply goes to the error_lock path whose end result is returning value of ret. However, at this point ret’s value is zero (assigned as return value from ffs_mutex_lock). Fix by adding ‘ret = -ENOMEM’ statement. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions