From a39f9d028a48c9dfbc98e8c1504bf96578c65164 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 14 Oct 2007 19:34:20 +0100 Subject: [PATCH] mpc5200_wdt: __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- drivers/char/watchdog/mpc5200_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/watchdog/mpc5200_wdt.c b/drivers/char/watchdog/mpc5200_wdt.c index 564143d406..9cfb975766 100644 --- a/drivers/char/watchdog/mpc5200_wdt.c +++ b/drivers/char/watchdog/mpc5200_wdt.c @@ -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; -- 2.39.5