Messages in this thread | | | Date | Mon, 22 Jan 2018 10:54:13 +0100 | From | Petr Mladek <> | Subject | Re: [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
| |