From: Al Viro Date: Wed, 12 Sep 2018 22:45:29 +0000 (-0400) Subject: gigaset: don't try to printk userland buffer contents X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09d88c85769262aadc85a49d6d4e91d35c115db1;p=people%2Fms%2Flinux.git gigaset: don't try to printk userland buffer contents especially when you've just copied it in... Signed-off-by: Al Viro --- 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;