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.senozhat...@gmail.com>
Great catch! Reviewed-by: Petr Mladek <pmla...@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