Skip to content
Commit 989b8376 authored by John Linville's avatar John Linville Committed by Kalle Valo
Browse files

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: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent dae0412d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment