patch-2.3.32 linux/drivers/char/drm/fops.c
Next file: linux/drivers/char/drm/init.c
Previous file: linux/drivers/char/drm/drmP.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Dec 10 15:34:45 1999
- Orig file:
v2.3.31/linux/drivers/char/drm/fops.c
- Orig date:
Wed Dec 8 14:11:25 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/char/drm/fops.c linux/drivers/char/drm/fops.c
@@ -40,6 +40,7 @@
drm_file_t *priv;
if (filp->f_flags & O_EXCL) return -EBUSY; /* No exclusive opens */
+ if (!drm_cpu_valid()) return -EINVAL;
DRM_DEBUG("pid = %d, minor = %d\n", current->pid, minor);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)