OpenCloudOS-Kernel/tools/bootconfig
Masami Hiramatsu 9737800111 tools/bootconfig: Suppress non-error messages
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.

Link: http://lkml.kernel.org/r/158125351377.16911.13283712972275131160.stgit@devnote2

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2020-02-10 17:22:56 -05:00
..
include/linux bootconfig: Allocate xbc_nodes array dynamically 2020-02-10 17:19:39 -05:00
samples tools: bootconfig: Add bootconfig test script 2020-01-13 13:19:39 -05:00
.gitignore
Makefile tools: bootconfig: Add bootconfig test script 2020-01-13 13:19:39 -05:00
main.c tools/bootconfig: Suppress non-error messages 2020-02-10 17:22:56 -05:00
test-bootconfig.sh tools/bootconfig: Suppress non-error messages 2020-02-10 17:22:56 -05:00