projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a09e6
)
[PATCH] fix __user annotations in drivers/base/memory.c
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 1 Feb 2006 11:06:16 +0000
(06:06 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 8 Feb 2006 01:58:04 +0000
(20:58 -0500)
sysfs store doesn't deal with userland pointers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/base/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/memory.c
b/drivers/base/memory.c
index d1a05224627ed36aec464213ac302e8c5494982b..105a0d61eb1f37dbe1bf51ef9ecfcb27098e947c 100644
(file)
--- 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;