[PATCH 45/50] gigaset: don't try to printk userland buffer contents
From: Al Viro
Date: Wed Sep 12 2018 - 22:41:57 EST
From: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
especially when you've just copied it in...
Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
---
drivers/isdn/gigaset/interface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.11.0