]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] fix __user annotations in drivers/base/memory.c
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 11:06:16 +0000 (06:06 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:58:04 +0000 (20:58 -0500)
sysfs store doesn't deal with userland pointers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/base/memory.c

index d1a05224627ed36aec464213ac302e8c5494982b..105a0d61eb1f37dbe1bf51ef9ecfcb27098e947c 100644 (file)
@@ -303,7 +303,7 @@ static int block_size_init(void)
  */
 #ifdef CONFIG_ARCH_MEMORY_PROBE
 static ssize_t
-memory_probe_store(struct class *class, const char __user *buf, size_t count)
+memory_probe_store(struct class *class, const char *buf, size_t count)
 {
        u64 phys_addr;
        int ret;