kernel-hacking-2024-linux-s.../tools/bootconfig
Zhen Lei e8ba0b2b64 tools/bootconfig: Fix error return code in apply_xbc()
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.

Link: https://lkml.kernel.org/r/20210508034216.2277-1-thunder.leizhen@huawei.com

Fixes: a995e6bc05 ("tools/bootconfig: Fix to check the write failure correctly")
Reported-by: Hulk Robot <hulkci@huawei.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2021-06-08 16:43:59 -04:00
..
include/linux
samples tools/bootconfig: Add testcases for value override operator 2020-08-03 16:22:29 -04:00
scripts tools/bootconfig: Add tracing_on support to helper scripts 2021-01-14 10:32:20 -05:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
main.c tools/bootconfig: Fix error return code in apply_xbc() 2021-06-08 16:43:59 -04:00
Makefile
test-bootconfig.sh tools/bootconfig: Align the bootconfig applied initrd image size to 4 2020-11-19 08:55:44 -05:00