Commit be7ee9b2 authored by Al Viro's avatar Al Viro

[PATCH] fix __user annotations in drivers/base/memory.c

sysfs store doesn't deal with userland pointers
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 73a09e62
...@@ -303,7 +303,7 @@ static int block_size_init(void) ...@@ -303,7 +303,7 @@ static int block_size_init(void)
*/ */
#ifdef CONFIG_ARCH_MEMORY_PROBE #ifdef CONFIG_ARCH_MEMORY_PROBE
static ssize_t 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; u64 phys_addr;
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment