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

From: Christophe Leroy (CS GROUP)

Date: Wed Jan 28 2026 - 07:44:23 EST



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@xxxxxxxxxx>