Re: [PATCH v2 0/3] hid: fix missing hid_is_usb() checks in three drivers

Jiri Kosina <[email protected]> Mon, 3 Aug 2026 20:42:20 +0200 (CEST)
Newsgroups org.kernel.vger.linux-input,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On Fri, 3 Jul 2026, Jann Horn wrote:

> This fixes missing hid_is_usb() checks before to_usb_interface() in
> three HID drivers.
> I've split it into three patches so that they can have separate "Fixes"
> tags, hopefully they are easier to stable-backport this way.
> 
> Signed-off-by: Jann Horn <[email protected]>
> ---
> Changes in v2:
> - patch 3/3: fix typo in "Fixes" line
> - patch 3/3: add USB_HID dependency (alternative would be to implement a
>   stub for hid_is_usb())
> - Link to v1: https://patch.msgid.link/[email protected]
> 
> ---
> Jann Horn (3):
>       HID: asus: fix missing hid_is_usb() check
>       HID: huawei: fix missing hid_is_usb() check
>       HID: rapoo: fix missing hid_is_usb() check

Thanks, now applied. Sorry for the delay.

-- 
Jiri Kosina
SUSE Labs