Re: [PATCH v2 0/2] HID: ensure timely release of driver resources

From: Jiri Kosina
Date: Fri May 26 2023 - 14:46:27 EST


On Tue, 23 May 2023, Dmitry Torokhov wrote:

> These 2 patches address an issue in HID subsystem where cleanup code in
> the bus code runs before releasing devres-managed resources by the
> driver core.
>
> This is a V2 of the patch, which was split in 2 parts - generic cleanup
> and the actualy change addressing the issue.
>
> Link: https://lore.kernel.org/r/20230505232417.1377393-1-swboyd@xxxxxxxxxxxx
> Link: https://lore.kernel.org/r/ZFWarGkRAfPOmI6E@xxxxxxxxxx
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> ---
> Dmitry Torokhov (2):
> HID: split apart hid_device_probe to make logic more apparent
> HID: ensure timely release of driver-allocated resources
>
> drivers/hid/hid-core.c | 118 +++++++++++++++++++++++++++++--------------------
> include/linux/hid.h | 1 +
> 2 files changed, 72 insertions(+), 47 deletions(-)

Now queued in hid.git#for-6.5/core.

Thanks,

--
Jiri Kosina
SUSE Labs