[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176960420088.2084129.13365764643328327479.b4-ty@kernel.org>
Date: Wed, 28 Jan 2026 13:43:32 +0100
From: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
To: ioana.ciornei@....com,
stuart.yoder@...escale.com,
agraf@...e.de,
German.Rivera@...escale.com,
gregkh@...uxfoundation.org,
Haoxiang Li <lihaoxiang@...c.iscas.ac.cn>
Cc: Christophe Leroy <chleroy@...nel.org>,
linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org,
stable@...r.kernel.org,
Dan Carpenter <dan.carpenter@...aro.org>,
Su Hui <suhui@...china.com>
Subject: Re: [PATCH v3] bus: fsl-mc: fix an error handling in fsl_mc_device_add()
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@...nel.org>
Powered by blists - more mailing lists