Commit 09d88c85 authored by Al Viro's avatar Al Viro

gigaset: don't try to printk userland buffer contents

especially when you've just copied it in...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7ebec8d2
...@@ -206,7 +206,7 @@ static int if_ioctl(struct tty_struct *tty, ...@@ -206,7 +206,7 @@ static int if_ioctl(struct tty_struct *tty,
? -EFAULT : 0; ? -EFAULT : 0;
if (retval >= 0) { if (retval >= 0) {
gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS", gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS",
6, (const unsigned char *) arg); 6, buf);
retval = cs->ops->brkchars(cs, buf); retval = cs->ops->brkchars(cs, buf);
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment