Re: [PATCH] HID: input: use __free(kfree) to clean up temporary buffers

From: Jiri Kosina

Date: Mon Mar 09 2026 - 14:23:21 EST


On Sat, 28 Feb 2026, Dmitry Torokhov wrote:

> The __free() cleanup automatically releases given resource when leaving
> the scope, so use it to make the code less cluttered with error
> handling.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>

Applied to hid.git#for-7.1/core. Thanks,

--
Jiri Kosina
SUSE Labs