summaryrefslogtreecommitdiffstats
path: root/drivers/char/n_tty.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-03-29 04:08:48 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-30 23:20:23 +0200
commitcc4191dc1d1ec3282d25fb78ece2ed4a9b134b43 (patch)
treeffea76def98e5433a8e9fc37be32da84b12535db /drivers/char/n_tty.c
parentNULL noise: frv cmpxchg() (diff)
downloadlinux-cc4191dc1d1ec3282d25fb78ece2ed4a9b134b43.tar.xz
linux-cc4191dc1d1ec3282d25fb78ece2ed4a9b134b43.zip
drivers/char/n_tty.c misannotated prototype
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/n_tty.c')
-rw-r--r--drivers/char/n_tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c
index 46b2a1cc8b54..0c09409fa45d 100644
--- a/drivers/char/n_tty.c
+++ b/drivers/char/n_tty.c
@@ -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 *);
/**