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 | |
parent | 7ebec8d235419a92af42b2d20e0d6cb6dac07dd8 (diff) |
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.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, | |||
206 | ? -EFAULT : 0; | 206 | ? -EFAULT : 0; |
207 | if (retval >= 0) { | 207 | if (retval >= 0) { |
208 | gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS", | 208 | gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS", |
209 | 6, (const unsigned char *) arg); | 209 | 6, buf); |
210 | retval = cs->ops->brkchars(cs, buf); | 210 | retval = cs->ops->brkchars(cs, buf); |
211 | } | 211 | } |
212 | break; | 212 | break; |