Messages in this thread | | | Date | Tue, 26 Sep 2023 00:06:38 +0200 | From | Alexandre Belloni <> | 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
| |