Home
last modified time | relevance | path

Searched hist:"9 d82ccda2bc5c148060543d249d54f8703741bb4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/bootconfig/
H A Dmain.cdiff 9d82ccda2bc5c148060543d249d54f8703741bb4 Fri May 08 10:07:56 CDT 2020 Steven Rostedt (VMware) <rostedt@goodmis.org> tools/bootconfig: Fix apply_xbc() to return zero on success

The return of apply_xbc() returns the result of the last write() call, which
is not what is expected. It should only return zero on success.

Link: https://lore.kernel.org/r/20200508093059.GF9365@kadam

Fixes: 8842604446d1 ("tools/bootconfig: Fix resource leak in apply_xbc()")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>