]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
objtool: Extract code to validate instruction from the validate branch loop
authorAlexandre Chartre <alexandre.chartre@oracle.com>
Fri, 21 Nov 2025 09:53:18 +0000 (10:53 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 21 Nov 2025 14:30:08 +0000 (15:30 +0100)
commita0e5bf9fd6a048a8dc65f672e625674cd167d172
tree30f20202b96c4b26e66508a36b1a329ec94c1ed1
parent0bb080ba6469a573bc85122153d931334d10a173
objtool: Extract code to validate instruction from the validate branch loop

The code to validate a branch loops through all instructions of the
branch and validate each instruction. Move the code to validate an
instruction to a separated function.

Signed-off-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://patch.msgid.link/20251121095340.464045-9-alexandre.chartre@oracle.com
tools/objtool/check.c