From: Al Viro Date: Tue, 6 Dec 2005 11:04:55 +0000 (-0500) Subject: [PATCH] arch/sparc/kernel/led.c __user annotations X-Git-Tag: v2.6.15-rc6~48 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=80ce8baf5da730c87194e2e38a4cfca0254f9599;p=~emulex%2Finfiniband.git [PATCH] arch/sparc/kernel/led.c __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/arch/sparc/kernel/led.c b/arch/sparc/kernel/led.c index 2a3afca453c..313d1620ae8 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;