Re: [wireless] wifi: wl3501_cs: Fix an error handling path in wl3501_probe()

From: Kalle Valo
Date: Thu May 25 2023 - 12:17:18 EST


Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> Should wl3501_config() fail, some resources need to be released as already
> done in the remove function.
>
> Fixes: 15b99ac17295 ("[PATCH] pcmcia: add return value to _config() functions")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

391af06a02e7 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()

--
https://patchwork.kernel.org/project/linux-wireless/patch/7cc9c9316489b7d69b36aeb0edd3123538500b41.1684569865.git.christophe.jaillet@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches