diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-05-21 12:10:20 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-27 10:33:42 +0200 |
commit | 0aa5858cb091344f149d1169f00d08b585fa70de (patch) | |
tree | 537016ab12a75e6f8d3de18109fe2e0c2c214011 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 0405060fa24286e361cf784bfb37695e8dadc541 (diff) |
can: kvaser_usb: fix return value for hif_usb_send_regout
[ Upstream commit 0d34d8163fd87978a6abd792e2d8ad849f4c3d57 ]
As the potential failure of usb_submit_urb(), it should be better to
return the err variable to catch the error.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://lore.kernel.org/all/20240521041020.1519416-1-nichen@iscas.ac.cn
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions