[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090324212445.224fd377@lxorguk.ukuu.org.uk>
Date: Tue, 24 Mar 2009 21:24:45 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: stoyboyker@...il.com
Cc: linux-kernel@...r.kernel.org,
Stoyan Gaydarov <stoyboyker@...il.com>,
linux-media@...r.kernel.org
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists