Re: [PATCH] tools/bootconfig: Suppress non-error messages

From: Michael Ellerman
Date: Sun Feb 09 2020 - 21:06:25 EST


Masami Hiramatsu <mhiramat@xxxxxxxxxx> 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@xxxxxxxxxxxxxx>
> Signed-off-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxx>

cheers