Skip to contentSkip to conversation

HID: fix a tab problem

PATCH Applied Dan Carpenter 2 participants 2 messages Mar 26, 2011 – Mar 27, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

drivers/hid/usbhid/hiddev.c +1 -1
index af0a7c1..5270031 100644
@@ -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:
Applied
#1 lore raw
Quoted 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
drivers/hid/usbhid/hiddev.c +1 -1
index af0a7c1..5270031 100644
@@ -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.