Revision e8ba0b2b64126381643bb50df3556b139a60545a authored by Zhen Lei on 08 May 2021, 03:42:16 UTC, committed by Steven Rostedt (VMware) on 08 June 2021, 20:43:59 UTC
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>
1 parent 614124b
History

back to top