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 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

Best Regards,
Petr

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