lkml.org 
[lkml]   [2018]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] printk: drop redundant devkmsg_log_str memsets
On (01/22/18 10:54), Petr Mladek wrote:
> On Fri 2018-01-19 13:39:01, Sergey Senozhatsky wrote:
> > We copy in null terminated strings "on" and "off", no
> > need to zero out devkmsg_log_str in control_devkmsg().
> >
> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
>
> Great catch!
>
> Reviewed-by: Petr Mladek <pmladek@suse.com>
>
> I have pushed this into for-4.16 branch in printk.git, see
> https://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git/commit/?h=for-4.16&id=6fd78a1a99c9580da49ee8f951fdce9846256375

Thanks.

-ss

\
 
 \ /
  Last update: 2018-01-22 10:59    [W:0.051 / U:5.096 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site