[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168385441982.17474.1383391783432684623.git-patchwork-notify@kernel.org>
Date: Fri, 12 May 2023 01:20:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>@codeaurora.org
Cc: wei.fang@....com, shenwei.wang@....com, xiaoning.wang@....com,
linux-imx@....com, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, fugang.duan@....com, hslester96@...il.com,
netdev@...r.kernel.org, kernel@...gutronix.de
Subject: Re: [PATCH net] net: fec: Better handle pm_runtime_get() failing in
.remove()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 10 May 2023 22:00:20 +0200 you wrote:
> In the (unlikely) event that pm_runtime_get() (disguised as
> pm_runtime_resume_and_get()) fails, the remove callback returned an
> error early. The problem with this is that the driver core ignores the
> error value and continues removing the device. This results in a
> resource leak. Worse the devm allocated resources are freed and so if a
> callback of the driver is called later the register mapping is already
> gone which probably results in a crash.
>
> [...]
Here is the summary with links:
- [net] net: fec: Better handle pm_runtime_get() failing in .remove()
https://git.kernel.org/netdev/net/c/f816b9829b19
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists