Skip to contentSkip to conversation

objtool: fix UNRET warning typo

PATCH In review Yousef Alhouseen 2 participants 3 messages Jun 24 – Jun 25 objtool

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 objtool: fix UNRET warning typo

Fix a typo in the warning emitted when UNRET validation reaches the end of an instruction stream unexpectedly.

---
 tools/objtool/check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/objtool/check.c +1 -1
index 10b18cf9c..1fa1340ed 100644
@@ -4118,7 +4118,7 @@ static int validate_unret(struct objtool_file *file, struct instruction *insn)
 			return 0;
 
 		if (!next) {
-			WARN_INSN(insn, "teh end!");
+			WARN_INSN(insn, "the end!");
 			return 1;
 		}
 		insn = next;
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 2 lines · Yousef Alhouseen

Fix a typo in the warning emitted when UNRET validation reaches the end of an instruction stream unexpectedly.

Is not a typo :-) And you would have found the same patch a number of times if you'd simply searched the archives.

#2 lore raw

Hi Peter,

Understood, thanks for the correction. Please drop this patch.

Thanks,
Yousef

Quoted 6 lines · Peter Zijlstra
Quoted 2 lines · Yousef Alhouseen

Fix a typo in the warning emitted when UNRET validation reaches the end of an instruction stream unexpectedly.

Is not a typo :-) And you would have found the same patch a number of times if you'd simply searched the archives.