diff options
author | 2015-10-19 11:15:00 -0400 | |
---|---|---|
committer | 2015-10-28 20:55:47 +0200 | |
commit | 989b8376f33721f7206dd058330da05972a71384 (patch) | |
tree | b45e7e2848c75cb4978546d82ea0113789065313 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | airo: fix scan after SIOCSIWAP (airo_set_wap) (diff) | |
download | wireguard-linux-989b8376f33721f7206dd058330da05972a71384.tar.xz wireguard-linux-989b8376f33721f7206dd058330da05972a71384.zip |
orinoco_usb: return error in ezusb_probe when alloc_orinocodev fails
The current code exits after alloc_orinocodev, but fails to change the
return value to something that indicates the failure. This patch
changes the return value to -ENOMEM.
https://bugzilla.kernel.org/show_bug.cgi?id=106181
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions