RE: [PATCH net] r8152: handle the return value of usb_reset_device()
From: Hayes Wang
Date: Thu Jun 04 2026 - 05:30:03 EST
Chih Kai Hsu <hsu.chih.kai@xxxxxxxxxxx>
> Sent: Thursday, June 4, 2026 5:23 PM
> To: kuba@xxxxxxxxxx; davem@xxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx; nic_swsd <nic_swsd@xxxxxxxxxxx>;
> linux-kernel@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx; Chih Kai Hsu
> <hsu.chih.kai@xxxxxxxxxxx>
> Subject: [PATCH net] r8152: handle the return value of usb_reset_device()
>
> If usb_reset_device() returns a negative error code, stop the process of
> probing.
>
> Fixes: 10c3271712f5 ("r8152: disable the ECM mode")
> Signed-off-by: Chih Kai Hsu <hsu.chih.kai@xxxxxxxxxxx>
Reviewed-by: Hayes Wang <hayeswang@xxxxxxxxxxx>
Best Regards,
Hayes