]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - tools/objtool/check.c
objtool: Fix error handling for STD/CLD warnings
authorJosh Poimboeuf <jpoimboe@redhat.com>
Thu, 21 Jan 2021 21:29:17 +0000 (15:29 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Apr 2021 16:31:31 +0000 (18:31 +0200)
commit8703e84770b9e2a28e8c0a1df09a283f20fd0518
tree80b0d76de81d7204c847a4739b7ecb7156711c14
parent0f84ef1c3a42333a917a06806ac77891d8ce9547
objtool: Fix error handling for STD/CLD warnings

BugLink: https://bugs.launchpad.net/bugs/1918974
[ Upstream commit 6f567c9300a5ebd7b18c26dda1c8d6ffbdd0debd ]

Actually return an error (and display a backtrace, if requested) for
directional bit warnings.

Fixes: 2f0f9e9ad7b3 ("objtool: Add Direction Flag validation")
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/dc70f2adbc72f09526f7cab5b6feb8bf7f6c5ad4.1611263461.git.jpoimboe@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
tools/objtool/check.c