Re: [PATCH] HID: uclogic: Fix regression of input name assignment

From: Jiri Kosina

Date: Tue Apr 28 2026 - 12:51:28 EST


On Tue, 28 Apr 2026, Takashi Iwai wrote:

> The previous fix for adding the devm_kasprintf() return check in the
> commit bd07f751208b ("HID: uclogic: Add NULL check in
> uclogic_input_configured()") changed the condition of hi->input->name
> assignment, and it resulted in missing the proper input device name
> when no custom suffix is defined.
>
> Restore the conditional to the original content to address the
> regression.
>
> Fixes: bd07f751208b ("HID: uclogic: Add NULL check in uclogic_input_configured()")
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>

Applied to hid.git#for-7.1/upstream-fixes, thanks Takashi.

--
Jiri Kosina
SUSE Labs