patch-2.2.11 linux/drivers/char/bw-qcam.c
Next file: linux/drivers/char/c-qcam.c
Previous file: linux/drivers/char/bttv.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 9 12:04:39 1999
- Orig file:
v2.2.10/linux/drivers/char/bw-qcam.c
- Orig date:
Fri Mar 26 13:57:41 1999
diff -u --recursive --new-file v2.2.10/linux/drivers/char/bw-qcam.c linux/drivers/char/bw-qcam.c
@@ -159,6 +159,8 @@
struct qcam_device *q;
q = kmalloc(sizeof(struct qcam_device), GFP_KERNEL);
+ if(q==NULL)
+ return NULL;
q->pport = port;
q->pdev = parport_register_device(port, "bw-qcam", NULL, NULL,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)