summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2022-04-12 22:43:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-21 19:03:26 +0200
commitb92ffb1eddd9a66a90defc556dcbf65a43c196c7 (patch)
treec97a55fd9d189a6ac31a1c0107d8dbef17ba2932 /net/lapb
parent67ec2c75f37780e0e825d0beb2fb4892c8a93c6a (diff)
USB: storage: karma: fix rio_karma_init return
The function rio_karam_init() should return -ENOMEM instead of value 0 (USB_STOR_TRANSPORT_GOOD) when allocation fails. Similarly, it should return -EIO when rio_karma_send_command() fails. Fixes: dfe0d3ba20e8 ("USB Storage: add rio karma eject support") Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Lin Ma <linma@zju.edu.cn> Link: https://lore.kernel.org/r/20220412144359.28447-1-linma@zju.edu.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions