diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-12-06 06:04:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-15 10:01:29 -0800 |
commit | 80ce8baf5da730c87194e2e38a4cfca0254f9599 (patch) | |
tree | 219363abb30bd7ef334ba9e98c9cdcbb9d4fc984 /arch/sparc/kernel | |
parent | a32972965e23471f0762a1136f80990ebf72406a (diff) | |
download | op-kernel-dev-80ce8baf5da730c87194e2e38a4cfca0254f9599.zip op-kernel-dev-80ce8baf5da730c87194e2e38a4cfca0254f9599.tar.gz |
[PATCH] arch/sparc/kernel/led.c __user annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/led.c b/arch/sparc/kernel/led.c index 2a3afca..313d162 100644 --- 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; |