Skip to content

Commit 80ce8ba

Browse files
Al ViroLinus Torvalds
authored andcommitted
[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>
1 parent a329729 commit 80ce8ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/sparc/kernel/led.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static int led_read_proc(char *buf, char **start, off_t offset, int count,
5555
return len;
5656
}
5757

58-
static int led_write_proc(struct file *file, const char *buffer,
58+
static int led_write_proc(struct file *file, const char __user *buffer,
5959
unsigned long count, void *data)
6060
{
6161
char *buf = NULL;

0 commit comments

Comments
 (0)