Re: [PATCH] can: kvaser_usb: fix return value for hif_usb_send_regout
From: Marc Kleine-Budde
Date: Fri Jun 21 2024 - 04:40:07 EST
On 21.05.2024 12:10:20, Chen Ni wrote:
> 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@xxxxxxxxxxx>
Applied to linux-can.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature