diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-08 06:42:16 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-06-08 23:43:59 +0300 |
commit | e8ba0b2b64126381643bb50df3556b139a60545a (patch) | |
tree | ecdc69560de9e31dc1fc75c08cf8fd02b7162c19 /tools/bootconfig/include | |
parent | 614124bea77e452aa6df7a8714e8bc820b489922 (diff) | |
download | linux-e8ba0b2b64126381643bb50df3556b139a60545a.tar.xz |
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: a995e6bc0524 ("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>
Diffstat (limited to 'tools/bootconfig/include')
0 files changed, 0 insertions, 0 deletions