[PATCH] wdrtas.c: fix __user annotations

From: Al Viro
Date: Thu Dec 15 2005 - 04:23:56 EST



Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


---

drivers/char/watchdog/wdrtas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

9dfed0b4cd3f6f0ddc1d9eeb7dccaa1af0e710f3
diff --git a/drivers/char/watchdog/wdrtas.c b/drivers/char/watchdog/wdrtas.c
index 619e2ff..dacfe31 100644
--- a/drivers/char/watchdog/wdrtas.c
+++ b/drivers/char/watchdog/wdrtas.c
@@ -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,
--
0.99.9.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/