diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-09-12 18:45:29 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-10-13 00:50:49 -0400 |
commit | 09d88c85769262aadc85a49d6d4e91d35c115db1 (patch) | |
tree | 0b771bdf51d77f4c97ae2f436969aaf3b3de44ff /drivers/isdn/gigaset | |
parent | 7ebec8d235419a92af42b2d20e0d6cb6dac07dd8 (diff) | |
download | linux-09d88c85769262aadc85a49d6d4e91d35c115db1.tar.gz linux-09d88c85769262aadc85a49d6d4e91d35c115db1.tar.bz2 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/gigaset')
-rw-r--r-- | drivers/isdn/gigaset/interface.c | 2 |
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; |