Skip to contentSkip to conversation

wdrtas.c: fix __user annotations

PATCH New Al Viro 1 participant 1 message Dec 15, 2005 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 wdrtas.c: fix __user annotations

---

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

9dfed0b4cd3f6f0ddc1d9eeb7dccaa1af0e710f3

drivers/char/watchdog/wdrtas.c +1 -1
index 619e2ff..dacfe31 100644
@@ -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,
Signature · 1 line
0.99.9.GIT