Re: [PATCH v5 2/8] r8152: Run the unload routine if we have errors during probe

From: Florian Fainelli
Date: Mon Oct 23 2023 - 21:24:44 EST




On 10/20/2023 2:06 PM, Douglas Anderson wrote:
The rtl8152_probe() function lacks a call to the chip-specific
unload() routine when it sees an error in probe. Add it in to match
the cleanup code in rtl8152_disconnect().

Fixes: ac718b69301c ("net/usb: new driver for RTL8152")
Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian