diff options
| author | Zhen Lei <[email protected]> | 2021-05-08 11:42:16 +0800 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-06-08 16:43:59 -0400 |
| commit | e8ba0b2b64126381643bb50df3556b139a60545a (patch) | |
| tree | ecdc69560de9e31dc1fc75c08cf8fd02b7162c19 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 614124bea77e452aa6df7a8714e8bc820b489922 (diff) | |
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/[email protected]
Fixes: a995e6bc0524 ("tools/bootconfig: Fix to check the write failure correctly")
Reported-by: Hulk Robot <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions