提交 09d88c85 编写于 作者: A Al Viro

gigaset: don't try to printk userland buffer contents

especially when you've just copied it in...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 7ebec8d2
......@@ -206,7 +206,7 @@ static int if_ioctl(struct tty_struct *tty,
? -EFAULT : 0;
if (retval >= 0) {
gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS",
6, (const unsigned char *) arg);
6, buf);
retval = cs->ops->brkchars(cs, buf);
}
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册