2008-03-29 03:09:53

by Al Viro

[permalink] [raw]
Subject: [PATCH] drivers/char/n_tty.c misannotated prototype


Signed-off-by: Al Viro <[email protected]>
---
drivers/char/n_tty.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c
index 46b2a1c..0c09409 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 *);

/**
--
1.5.3.GIT