Re: [PATCH v2] soc: mpfs: use kref cleanup on probe failure

From: patchwork-bot+linux-riscv

Date: Sun Nov 01 2026 - 17:29:54 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Conor Dooley <conor.dooley@xxxxxxxxxxxxx>:

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