Thread (7 messages) 7 messages, 3 authors, 2019-05-21

Re: [PATCH] HID: Increase maximum report size allowed by hid_field_extract()

From: Jiri Kosina <jikos@kernel.org>
Date: 2019-03-18 13:48:30
Also in: lkml

On Fri, 8 Mar 2019, Kai-Heng Feng wrote:
Commit 71f6fa90a353 ("HID: increase maximum global item tag report size
to 256") increases the max report size from 128 to 256.

We also need to update the report size in hid_field_extract() otherwise
it complains and truncates now valid report size:
[ 406.165461] hid-sensor-hub 001F:8086:22D8.0002: hid_field_extract() called with n (192) > 32! (kworker/5:1)

BugLink: https://bugs.launchpad.net/bugs/1818547
Fixes: 71f6fa90a353 ("HID: increase maximum global item tag report size to 256")
Signed-off-by: Kai-Heng Feng <redacted>
Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help