* [PATCH 17/29] fix __user annotations in drivers/base/memory.c
@ 2006-02-08 3:19 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-02-08 3:19 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
Date: 1138791976 -0500
sysfs store doesn't deal with userland pointers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
drivers/base/memory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4
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;
--
0.99.9.GIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-08 3:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 3:19 [PATCH 17/29] fix __user annotations in drivers/base/memory.c Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®