Re: [PATCH] tools/bootconfig: Suppress non-error messages
From: Masami Hiramatsu
Date: Mon Feb 10 2020 - 02:18:46 EST
Hi Michael,
On Mon, 10 Feb 2020 13:06:14 +1100
Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:
> 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>
Could you give me your tested-by to the previous patch too?
Thank you!
>
> cheers
--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>