lkml.org 
[lkml]   [2020]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] tools/bootconfig: Suppress non-error messages
Date
Masami Hiramatsu <mhiramat@kernel.org> writes:
> Suppress non-error messages when applying new bootconfig
> to initrd image. To enable it, replace printf for error
> message with pr_err() macro.
> This also adds a testcase for this fix.
>
> Reported-by: Michael Ellerman <mpe@ellerman.id.au>
> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
> ---
> tools/bootconfig/main.c | 28 ++++++++++++++--------------
> tools/bootconfig/test-bootconfig.sh | 9 +++++++++
> 2 files changed, 23 insertions(+), 14 deletions(-)

Thanks, that works for me.

Tested-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

\
 
 \ /
  Last update: 2020-02-10 03:07    [W:0.097 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site