diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2017-08-10 16:37:25 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-11 14:06:14 +0200 |
commit | 12b25729a194198e3c4289adaddc4115b10b094e (patch) | |
tree | fc39c0dd9935d7254cd1c004542fd19da27c6696 /lib | |
parent | 01651324edad9db4fe49fb39b905c76861649b4c (diff) | |
download | linux-12b25729a194198e3c4289adaddc4115b10b094e.tar.bz2 |
objtool: Fix validate_branch() return codes
The validate_branch() function should never return a negative value.
Errors are treated as warnings so that even if something goes wrong,
objtool does its best to generate ORC data for the rest of the file.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: baa41469a7b9 ("objtool: Implement stack validation 2.0")
Link: http://lkml.kernel.org/r/d86671cfde823b50477cd2f6f548dfe54871e24d.1502401017.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions