On Tue, 15 Sep 2026 17:46:56 +0200, Benjamin Tissoires wrote:
Sashiko detected an existing issue in hid_bpf_hw_request:
if the transport layer returns an error code, hid_bpf_hw_request
returns success, which can confuse the caller.
Add the actual fix and a selftest to ensure this gets properly passed
around.
[...]
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-7.3/upstream-fixes), thanks!
[1/2] HID: bpf: cast size to ssize_t when checking hid_bpf_hw_request
https://git.kernel.org/hid/hid/c/3afefbfe55c2
[2/2] selftest/hid: add test for negative return codes for hid_bpf_hw_request
https://git.kernel.org/hid/hid/c/3f35b678a1d6
Cheers,
--
Benjamin Tissoires [off-list ref]