Re: [PATCH] i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs

From: Alexandre Belloni
Date: Mon Sep 25 2023 - 18:06:47 EST



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