mpc5200_wdt: __user annotations
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:34:20 +0000 (19:34 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:51 +0000 (12:41 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/watchdog/mpc5200_wdt.c

index 564143d406105dfc5bce3bee89f6cd539ead4b20..9cfb9757662361cb64b770764aa1fa66a4be29f8 100644 (file)
@@ -81,7 +81,7 @@ static int mpc5200_wdt_stop(struct mpc5200_wdt *wdt)
 
 
 /* file operations */
-static ssize_t mpc5200_wdt_write(struct file *file, const char *data,
+static ssize_t mpc5200_wdt_write(struct file *file, const char __user *data,
                size_t len, loff_t *ppos)
 {
        struct mpc5200_wdt *wdt = file->private_data;