Re: [wireless] wifi: orinoco: Fix an error handling path in spectrum_cs_probe()

From: Kalle Valo
Date: Thu May 25 2023 - 12:15:28 EST


Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> Should spectrum_cs_config() fail, some resources need to be released as
> already done in the remove function.
>
> While at it, remove a useless and erroneous comment. The probe is
> spectrum_cs_probe(), not spectrum_cs_attach().
>
> 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.

925244325159 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()

--
https://patchwork.kernel.org/project/linux-wireless/patch/c0bc0c21c58ca477fc5521607615bafbf2aef8eb.1684567733.git.christophe.jaillet@xxxxxxxxxx/

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