drivers/char/n_tty.c misannotated prototype
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Mar 2008 03:08:48 +0000 (03:08 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 30 Mar 2008 21:20:23 +0000 (14:20 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_tty.c

index 46b2a1cc8b54af4caf14971ca24ac95be101a390..0c09409fa45d4dc5f13a212c0211bab5fb307ae7 100644 (file)
@@ -1183,7 +1183,7 @@ static int copy_from_read_buf(struct tty_struct *tty,
        return retval;
 }
 
-extern ssize_t redirected_tty_write(struct file *, const char *,
+extern ssize_t redirected_tty_write(struct file *, const char __user *,
                                                        size_t, loff_t *);
 
 /**