[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165814507884.17539.1869457653160342905.kvalo@kernel.org>
Date: Mon, 18 Jul 2022 11:51:24 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Christian Lamparter <chunkeey@...glemail.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
"John W. Linville" <linville@...driver.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Christian Lamparter <chunkeey@....de>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [v2] wifi: p54: Fix an error handling path in p54spi_probe()
Christophe JAILLET <christophe.jaillet@...adoo.fr> wrote:
> If an error occurs after a successful call to p54spi_request_firmware(), it
> must be undone by a corresponding release_firmware() as already done in
> the error handling path of p54spi_request_firmware() and in the .remove()
> function.
>
> Add the missing call in the error handling path and remove it from
> p54spi_request_firmware() now that it is the responsibility of the caller
> to release the firmware
>
> Fixes: cd8d3d321285 ("p54spi: p54spi driver")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> Acked-by: Christian Lamparter <chunkeey@...il.com>
Patch applied to wireless-next.git, thanks.
83781f0162d0 wifi: p54: Fix an error handling path in p54spi_probe()
--
https://patchwork.kernel.org/project/linux-wireless/patch/297d2547ff2ee627731662abceeab9dbdaf23231.1655068321.git.christophe.jaillet@wanadoo.fr/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists