summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-09-13 00:45:29 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-10-13 06:50:49 +0200
commit09d88c85769262aadc85a49d6d4e91d35c115db1 (patch)
tree0b771bdf51d77f4c97ae2f436969aaf3b3de44ff /drivers/isdn
parentdgnc: don't bother with (empty) stub for TCXONC (diff)
downloadlinux-09d88c85769262aadc85a49d6d4e91d35c115db1.tar.xz
linux-09d88c85769262aadc85a49d6d4e91d35c115db1.zip
gigaset: don't try to printk userland buffer contents
especially when you've just copied it in... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/gigaset/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/interface.c b/drivers/isdn/gigaset/interface.c
index 600c79b030cd..f9698c0c3885 100644
--- a/drivers/isdn/gigaset/interface.c
+++ b/drivers/isdn/gigaset/interface.c
@@ -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;