diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 500844f04f93abb668f7ce57b0d841f776c074c7..0b62bb510ffc3c4845e50873d80c1689ea45e642 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -374,7 +374,7 @@ static int hid_parser_global(struct hid_parser *parser, struct hid_item *item) case HID_GLOBAL_ITEM_TAG_REPORT_SIZE: parser->global.report_size = item_udata(item); - if (parser->global.report_size > 96) { + if (parser->global.report_size > 128) { hid_err(parser->device, "invalid report_size %d\n", parser->global.report_size); return -1;