Message ID | trinity-c9aeaeb6-3975-4c7c-bf9e-d80ecca62b53-1525201425575@3c-app-gmx-bs73 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff -uNr drivers/hid/i2c-hid/i2c-hid.c drivers/hid/i2c-hid/i2c-hid.c --- drivers/hid/i2c-hid/i2c-hid.c 2018-04-26 11:00:39.000000000 +0200 +++ drivers/hid/i2c-hid/i2c-hid.c 2018-04-29 12:42:53.867780866 +0200 @@ -484,7 +484,7 @@ return; } - if ((ret_size > size) || (ret_size <= 2)) { + if ((ret_size > size) || (ret_size < 2)) { dev_err(&ihid->client->dev, "%s: incomplete report (%d/%d)\n", __func__, size, ret_size); return;