Re: [PATCH 4/4] net: ch9200: add error handling in ch9200_bind()
From: Simon Horman
Date: Thu Mar 20 2025 - 09:50:12 EST
On Wed, Mar 19, 2025 at 11:21:56AM +0000, Qasim Ijaz wrote:
> The ch9200_bind() function has no error handling for any
> control_write() calls.
>
> Fix this by checking if any control_write() call fails and
> propagate the error to the caller.
>
> Fixes: 4a476bd6d1d9 ("usbnet: New driver for QinHeng CH9200 devices")
> Signed-off-by: Qasim Ijaz <qasdev00@xxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>