[PATCH] w9968cf driver misplaced ;

From: Dave Jones
Date: Tue Mar 30 2004 - 09:36:20 EST


--- 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");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/