mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
Staging: line6: replacing -EINVAL with retval in driver.c
drivers/staging/line6/driver.c:208 line6_send_raw_message_async_part() info: why not propagate 'retval' from usb_submit_urb() instead of (-22)? Signed-off-by: Ashvini Varatharaj <ashvinivaratharaj@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
88ef9b1bce
commit
056e0af2f5
@ -205,7 +205,7 @@ static int line6_send_raw_message_async_part(struct message *msg,
|
||||
__func__, retval);
|
||||
usb_free_urb(urb);
|
||||
kfree(msg);
|
||||
return -EINVAL;
|
||||
return retval;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user