Skip to contentSkip to conversation

drivers/char/n_tty.c misannotated prototype

PATCH New Al Viro 1 participant 1 message Mar 29, 2008 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 drivers/char/n_tty.c misannotated prototype

---
 drivers/char/n_tty.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/n_tty.c +1 -1
index 46b2a1c..0c09409 100644
@@ -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 *);
 
 /**
Signature · 1 line
1.5.3.GIT