Skip to content
Commit e8ba0b2b authored by Zhen Lei's avatar Zhen Lei Committed by Steven Rostedt (VMware)
Browse files

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: a995e6bc ("tools/bootconfig: Fix to check the write failure correctly")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Acked-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 614124be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment