Messages in this thread | | | Date | Tue, 24 Mar 2009 21:24:45 +0000 | From | Alan Cox <> | Subject | Re: [PATCH 12/13] [drivers/media] changed ioctls to unlocked |
| |
> -static int dabusb_ioctl (struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg) > +static long dabusb_ioctl (struct file *file, unsigned int cmd, unsigned long arg) > { > + lock_kernel(); > pdabusb_t s = (pdabusb_t) file->private_data;
After the variables or you'll get lots of warnings from gcc
| |