Re: [wireless] wifi: ray_cs: Fix an error handling path in ray_probe()

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


Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> wrote:

> Should ray_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
> ray_probe(), not ray_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.

4f8d66a9fb2e wifi: ray_cs: Fix an error handling path in ray_probe()

--
https://patchwork.kernel.org/project/linux-wireless/patch/8c544d18084f8b37dd108e844f7e79e85ff708ff.1684570373.git.christophe.jaillet@xxxxxxxxxx/

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