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

From: Simon Horman
Date: Wed May 24 2023 - 06:25:14 EST


On Sat, May 20, 2023 at 09:29:46AM +0200, Christophe JAILLET 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>