Skip to contentSkip to conversation

fix __user annotations in drivers/base/memory.c

PATCH In review Al Viro 1 participant 1 message Feb 8, 2006

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 17/29 fix __user annotations in drivers/base/memory.c

Date: 1138791976 -0500

sysfs store doesn't deal with userland pointers

---

 drivers/base/memory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

be7ee9b2f5ef11448f79c2ff7f47eb21b7c008b4

drivers/base/memory.c +1 -1
index d1a0522..105a0d6 100644
@@ -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;
Signature · 1 line
0.99.9.GIT