public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] w9968cf driver misplaced ;
@ 2004-03-30 14:32 Dave Jones
  2004-03-31  1:18 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2004-03-30 14:32 UTC (permalink / raw)
  To: luca.risolia; +Cc: Linux Kernel

--- linux-2.6.4/drivers/usb/media/w9968cf.c~	2004-03-30 15:28:43.000000000 +0100
+++ linux-2.6.4/drivers/usb/media/w9968cf.c	2004-03-30 15:29:08.000000000 +0100
@@ -3369,7 +3369,7 @@
 		if (copy_from_user(&tuner, arg, sizeof(tuner)))
 			return -EFAULT;
 
-		if (tuner.tuner != 0);
+		if (tuner.tuner != 0)
 			return -EINVAL;
 
 		strcpy(tuner.name, "no_tuner");

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

* Re: [PATCH] w9968cf driver misplaced ;
  2004-03-30 14:32 [PATCH] w9968cf driver misplaced ; Dave Jones
@ 2004-03-31  1:18 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2004-03-31  1:18 UTC (permalink / raw)
  To: Dave Jones, luca.risolia, Linux Kernel

On Tue, Mar 30, 2004 at 03:32:10PM +0100, Dave Jones wrote:
> --- linux-2.6.4/drivers/usb/media/w9968cf.c~	2004-03-30 15:28:43.000000000 +0100
> +++ linux-2.6.4/drivers/usb/media/w9968cf.c	2004-03-30 15:29:08.000000000 +0100
> @@ -3369,7 +3369,7 @@
>  		if (copy_from_user(&tuner, arg, sizeof(tuner)))
>  			return -EFAULT;
>  
> -		if (tuner.tuner != 0);
> +		if (tuner.tuner != 0)
>  			return -EINVAL;
>  
>  		strcpy(tuner.name, "no_tuner");

Applied, thanks.

greg k-h

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

end of thread, other threads:[~2004-03-31  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-30 14:32 [PATCH] w9968cf driver misplaced ; Dave Jones
2004-03-31  1:18 ` Greg KH

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