Commit e896fd98 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] wdrtas.c: fix __user annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5ad9201b
...@@ -320,7 +320,7 @@ static int ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment