public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] HID: fix a tab problem
@ 2011-03-26  1:47 Dan Carpenter
  2011-03-27  9:15 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2011-03-26  1:47 UTC (permalink / raw)
  To: kernel-janitors

There was an extra tab so the close curly brace didn't match up with
the right if statement.

Signed-off-by: Dan Carpenter <error27@gmail.com>

diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
index af0a7c1..5270031 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,
 				 (uref_multi->num_values > HID_MAX_MULTI_USAGES ||
 				  uref->usage_index + uref_multi->num_values > field->report_count))
 				goto inval;
-			}
+		}
 
 		switch (cmd) {
 		case HIDIOCGUSAGE:

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] HID: fix a tab problem
  2011-03-26  1:47 [patch] HID: fix a tab problem Dan Carpenter
@ 2011-03-27  9:15 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2011-03-27  9:15 UTC (permalink / raw)
  To: kernel-janitors

On Sat, 26 Mar 2011, Dan Carpenter wrote:

> There was an extra tab so the close curly brace didn't match up with
> the right if statement.

Applied, thanks.

> 
> Signed-off-by: Dan Carpenter <error27@gmail.com>
> 
> diff --git a/drivers/hid/usbhid/hiddev.c b/drivers/hid/usbhid/hiddev.c
> index af0a7c1..5270031 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,
>  				 (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
SUSE Labs, Novell Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-27  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26  1:47 [patch] HID: fix a tab problem Dan Carpenter
2011-03-27  9:15 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox