[<prev] [next>] [day] [month] [year] [list]
Message-ID: <169567834167.244864.5680434544553157892.b4-ty@bootlin.com>
Date: Tue, 26 Sep 2023 00:06:38 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: Boris Brezillon <bbrezillon@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i3c: Fix potential refcount leak in
i3c_master_register_new_i3c_devs
On Thu, 21 Sep 2023 16:24:10 +0800, Dinghao Liu wrote:
> put_device() needs to be called on failure of device_register()
> to give up the reference initialized in it to avoid refcount leak.
>
>
Applied, thanks!
[1/1] i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
commit: cab63f64887616e3c4e31cfd8103320be6ebc8d3
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists