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