patch-2.4.26 linux-2.4.26/drivers/usb/w9968cf.c
Next file: linux-2.4.26/drivers/video/amifb.c
Previous file: linux-2.4.26/drivers/usb/usbnet.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-04-14 06:05:37.000000000 -0700
- Orig file:
linux-2.4.25/drivers/usb/w9968cf.c
- Orig date:
2004-02-18 05:36:31.000000000 -0800
diff -urN linux-2.4.25/drivers/usb/w9968cf.c linux-2.4.26/drivers/usb/w9968cf.c
@@ -2943,7 +2943,7 @@
return -ENODEV;
}
- if (cam->users) {
+ while (cam->users) {
DBG(2, "%s (/dev/video%d) has been already occupied by '%s'.",
symbolic(camlist, cam->id),cam->v4ldev->minor,cam->command)
if ((filp->f_flags & O_NONBLOCK)||(filp->f_flags & O_NDELAY)) {
@@ -3632,7 +3632,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");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)