[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2409272015390.31206@cbobk.fhfr.pm>
Date: Fri, 27 Sep 2024 20:15:55 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Benjamin Tissoires <bentiss@...nel.org>
cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
bpf@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH HID] HID: bpf: fix cfi stubs for hid_bpf_ops
On Fri, 27 Sep 2024, Benjamin Tissoires wrote:
> With the introduction of commit e42ac1418055 ("bpf: Check unsupported ops
> from the bpf_struct_ops's cfi_stubs"), a HID-BPF struct_ops containing
> a .hid_hw_request() or a .hid_hw_output_report() was failing to load
> as the cfi stubs were not defined.
>
> Fix that by defining those simple static functions and restore HID-BPF
> functionality.
>
> This was detected with the HID selftests suddenly failing on Linus' tree.
>
> Cc: stable@...r.kernel.org # v6.11+
> Fixes: 9286675a2aed ("HID: bpf: add HID-BPF hooks for hid_hw_output_report")
> Fixes: 8bd0488b5ea5 ("HID: bpf: add HID-BPF hooks for hid_hw_raw_requests")
> Signed-off-by: Benjamin Tissoires <bentiss@...nel.org>
> ---
> Hi,
>
> This commit should directly go in Linus tree before we start creating
> topic branches for 6.13 given that the CI is now failing on our HID
> master branch.
Applied now to for-6.12/upstream-fixes, thanks Benjamin.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists