[PATCH] wdrtas.c: fix __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
5ad9201be7
commit
e896fd9861
|
@ -320,7 +320,7 @@ static int
|
||||||
wdrtas_ioctl(struct inode *inode, struct file *file,
|
wdrtas_ioctl(struct inode *inode, struct file *file,
|
||||||
unsigned int cmd, unsigned long arg)
|
unsigned int cmd, unsigned long arg)
|
||||||
{
|
{
|
||||||
int __user *argp = (void *)arg;
|
int __user *argp = (void __user *)arg;
|
||||||
int i;
|
int i;
|
||||||
static struct watchdog_info wdinfo = {
|
static struct watchdog_info wdinfo = {
|
||||||
.options = WDRTAS_SUPPORTED_MASK,
|
.options = WDRTAS_SUPPORTED_MASK,
|
||||||
|
|
Loading…
Reference in a new issue