projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a329729
)
[PATCH] arch/sparc/kernel/led.c __user annotations
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 6 Dec 2005 11:04:55 +0000
(06:04 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:01:29 +0000
(10:01 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sparc/kernel/led.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/led.c
b/arch/sparc/kernel/led.c
index 2a3afca453c9ec4b94caf91ab378d0d2e7f55d4d..313d1620ae8ec65b3ce43c1ee8b180ec7abdeb68 100644
(file)
--- a/
arch/sparc/kernel/led.c
+++ b/
arch/sparc/kernel/led.c
@@
-55,7
+55,7
@@
static int led_read_proc(char *buf, char **start, off_t offset, int count,
return len;
}
-static int led_write_proc(struct file *file, const char *buffer,
+static int led_write_proc(struct file *file, const char
__user
*buffer,
unsigned long count, void *data)
{
char *buf = NULL;