]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/watchdog/wdrtas.c
[PATCH] wdrtas.c: fix __user annotations
[linux-2.6-omap-h63xx.git] / drivers / char / watchdog / wdrtas.c
index 619e2ffca33ff4bd62f28a6b519fa63f189feeb1..dacfe31caccf3fb5f3fb525f349dabec087cd644 100644 (file)
@@ -320,7 +320,7 @@ static int
 wdrtas_ioctl(struct inode *inode, struct file *file,
             unsigned int cmd, unsigned long arg)
 {
-       int __user *argp = (void *)arg;
+       int __user *argp = (void __user *)arg;
        int i;
        static struct watchdog_info wdinfo = {
                .options = WDRTAS_SUPPORTED_MASK,