summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-01 06:06:16 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:58:04 -0500
commitbe7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4 (patch)
treef077992aa0fdef2f9aee1c095dc142c2f839e4e2 /drivers/base/memory.c
parent73a09e626b9717851d3f7fd0230e401492ee326b (diff)
downloadop-kernel-dev-be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4.zip
op-kernel-dev-be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4.tar.gz
[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>
Diffstat (limited to 'drivers/base/memory.c')
-rw-r--r--drivers/base/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c
index d1a0522..105a0d6 100644
--- a/drivers/base/memory.c
+++ b/drivers/base/memory.c
@@ -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;
OpenPOWER on IntegriCloud