[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240621-cyan-cuttlefish-from-eldorado-11bff2-mkl@pengutronix.de>
Date: Fri, 21 Jun 2024 10:39:41 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Chen Ni <nichen@...as.ac.cn>
Cc: mailhol.vincent@...adoo.fr, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, extja@...ser.com,
carsten.schmidt-achim@...nline.de, linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] can: kvaser_usb: fix return value for hif_usb_send_regout
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@...as.ac.cn>
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 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists