[PATCH 4.16 051/196] HID: i2c-hid: fix size check and type usage