Re: [PATCH] printk: remove unnecessary kmalloc() from syslog during clear

From: Steven Rostedt
Date: Wed Jun 20 2018 - 10:16:44 EST


On Wed, 20 Jun 2018 19:26:19 +0530
Namit Gupta <gupta.namit@xxxxxxxxxxx> wrote:

> When the request is only for clearing logs, there is no need for
> allocation/deallocation. Only the indexes need to be reset and returned.
> Rest of the patch is mostly made up of changes because of indention.

Thanks for the update!

>
> Signed-off-by: Namit Gupta <gupta.namit@xxxxxxxxxxx>
> Signed-off-by: Himanshu Maithani <himanshu.m@xxxxxxxxxxx>
> ---
>

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve