diff options
-rw-r--r-- | drivers/hid/usbhid/hiddev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c index af0a7c1002af..527003188bfe 100644 --- a/drivers/hid/usbhid/hiddev.c +++ b/drivers/hid/usbhid/hiddev.c | |||
@@ -509,7 +509,7 @@ static noinline int hiddev_ioctl_usage(struct hiddev *hiddev, unsigned int cmd, | |||
509 | (uref_multi->num_values > HID_MAX_MULTI_USAGES || | 509 | (uref_multi->num_values > HID_MAX_MULTI_USAGES || |
510 | uref->usage_index + uref_multi->num_values > field->report_count)) | 510 | uref->usage_index + uref_multi->num_values > field->report_count)) |
511 | goto inval; | 511 | goto inval; |
512 | } | 512 | } |
513 | 513 | ||
514 | switch (cmd) { | 514 | switch (cmd) { |
515 | case HIDIOCGUSAGE: | 515 | case HIDIOCGUSAGE: |