RE: [PATCH net v3 2/5] r8152: Add RTL8152_INACCESSIBLE checks to more loops

From: Hayes Wang
Date: Thu Nov 30 2023 - 03:28:00 EST


Douglas Anderson <dianders@xxxxxxxxxxxx>
[...]
>
> Previous commits added checks for RTL8152_INACCESSIBLE in the loops in
> the driver. There are still a few more that keep tripping the driver
> up in error cases and make things take longer than they should. Add
> those in.
>
> All the loops that are part of this commit existed in some form or
> another since the r8152 driver was first introduced, though
> RTL8152_INACCESSIBLE was known as RTL8152_UNPLUG before commit
> 715f67f33af4 ("r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE")
>
> Fixes: ac718b69301c ("net/usb: new driver for RTL8152")
> Reviewed-by: Grant Grundler <grundler@xxxxxxxxxxxx>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

Acked-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Best Regards,
Hayes