[PATCH v3] bus: fsl-mc: fix an error handling in fsl_mc_device_add()

Christophe Leroy (CS GROUP) chleroy at kernel.org
Wed Jan 28 23:43:32 AEDT 2026


On Sat, 24 Jan 2026 18:20:54 +0800, Haoxiang Li wrote:
> In fsl_mc_device_add(), device_initialize() is called first.
> put_device() should be called to drop the reference if error
> occurs. And other resources would be released via put_device
> -> fsl_mc_device_release. So remove redundant kfree() in
> error handling path.
> 
> 
> [...]

Applied, thanks!

[1/1] bus: fsl-mc: fix an error handling in fsl_mc_device_add()
      commit: 52f527d0916bcdd7621a0c9e7e599b133294d495

Best regards,
-- 
Christophe Leroy (CS GROUP) <chleroy at kernel.org>


More information about the Linuxppc-dev mailing list