lkml.org 
[lkml]   [2018]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 45/50] gigaset: don't try to printk userland buffer contents
    Date
    From: Al Viro <viro@zeniv.linux.org.uk>

    especially when you've just copied it in...

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ---
    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
    \
     
     \ /
      Last update: 2018-09-13 04:42    [W:3.070 / U:0.772 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site