HID: fix a tab problem
PATCH 1/1 HID: fix a tab problem
There was an extra tab so the close curly brace didn't match up with the right if statement.
Signed-off-by Dan Carpenter <[email protected]>
drivers/hid/usbhid/hiddev.c +1 -1
@@ -509,7 +509,7 @@ static noinline int hiddev_ioctl_usage(struct hiddev *hiddev, unsigned int cmd, (uref_multi->num_values >HID_MAX_MULTI_USAGES || uref->usage_index + uref_multi->num_values > field->report_count)) goto inval; - } + }switch (cmd) {case HIDIOCGUSAGE :
Jiri Kosina
AppliedQuoted 2 lines · Dan Carpenter
There was an extra tab so the close curly brace didn't match up with the right if statement.
Applied, thanks.
Quoted 17 lines
Signed-off-by Dan Carpenter <[email protected]>drivers/hid/usbhid/hiddev.c +1
-1@@ -509,7 +509,7 @@ static noinline int hiddev_ioctl_usage(struct hiddev *hiddev, unsigned int cmd, (uref_multi->num_values >HID_MAX_MULTI_USAGES || uref->usage_index + uref_multi->num_values > field->report_count)) goto inval; - } + }switch (cmd) {case HIDIOCGUSAGE :
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.