[PATCH v2] soc: mpfs: use kref cleanup on probe failure
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Sun Nov 1 14:17:09 PST 2026
Hello:
This patch was applied to riscv/linux.git (fixes)
by Conor Dooley <conor.dooley at microchip.com>:
On Wed, 7 Oct 2026 20:17:43 +0800 you wrote:
> After kref_init(), the device_get_match_data() failure path frees the
> mailbox channel and sys_controller directly, bypassing the matching
> kref_put() for the initial reference.
>
> Use mpfs_sys_controller_put() on this path so that the initial
> reference established by kref_init() is released through the existing
> kref release callback.
>
> [...]
Here is the summary with links:
- [v2] soc: mpfs: use kref cleanup on probe failure
https://git.kernel.org/riscv/c/6f77194e1147
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-riscv
mailing list