mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 02:54:00 +08:00
[PATCH] fix __user annotations in drivers/base/memory.c
sysfs store doesn't deal with userland pointers Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
73a09e626b
commit
be7ee9b2f5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user