Skip to contentSkip to conversation

objtool fix

GIT PULL Merged Ingo Molnar 2 participants 2 messages Nov 1, 2025 objtool

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest objtool/urgent Git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2025-11-01

# HEAD: c44b4b9eeb71f5b0b617abf6fd66d1ef0aab6200 objtool: Fix skip_alt_group() for non-alternative STAC/CLAC

Fix objtool warning when faced with raw STAC/CLAC instructions.

Thanks,

Ingo

------------------>
Josh Poimboeuf (1):
objtool: Fix skip_alt_group() for non-alternative STAC/CLAC

 tools/objtool/check.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
tools/objtool/check.c +4 -1
index 620854fdaaf6..9004fbc06769 100644
@@ -3516,8 +3516,11 @@ static bool skip_alt_group(struct instruction *insn)
 {
 	struct instruction *alt_insn = insn->alts ? insn->alts->insn : NULL;
 
+	if (!insn->alt_group)
+		return false;
+
 	/* ANNOTATE_IGNORE_ALTERNATIVE */
-	if (insn->alt_group && insn->alt_group->ignore)
+	if (insn->alt_group->ignore)
 		return true;
 
 	/*
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 1 Nov 2025 08:08:09 +0100:

The pull request you sent on Sat, 1 Nov 2025 08:08:09 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2025-11-01

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/74131a0f1b9efc1364871a04b704e54309861668

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html