objtool: Fix spelling mistake "teh" -> "the"

Message ID 20221207094512.2281808-1-colin.i.king@gmail.com
State New
Headers
Series objtool: Fix spelling mistake "teh" -> "the" |

Commit Message

Colin Ian King Dec. 7, 2022, 9:45 a.m. UTC
  There is a spelling mistake in a WARN_FUNC message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/objtool/check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Peter Zijlstra Dec. 13, 2022, 2:18 p.m. UTC | #1
On Wed, Dec 07, 2022 at 09:45:12AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a WARN_FUNC message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  tools/objtool/check.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/objtool/check.c b/tools/objtool/check.c
> index 4350be739f4f..71d6e9b85217 100644
> --- a/tools/objtool/check.c
> +++ b/tools/objtool/check.c
> @@ -3859,7 +3859,7 @@ static int validate_entry(struct objtool_file *file, struct instruction *insn)
>  		}
>  
>  		if (!next) {
> -			WARN_FUNC("teh end!", insn->sec, insn->offset);
> +			WARN_FUNC("the end!", insn->sec, insn->offset);

This was quite on purpose, you need to teach your spell checker about
nerd humour :-)
  

Patch

diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index 4350be739f4f..71d6e9b85217 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -3859,7 +3859,7 @@  static int validate_entry(struct objtool_file *file, struct instruction *insn)
 		}
 
 		if (!next) {
-			WARN_FUNC("teh end!", insn->sec, insn->offset);
+			WARN_FUNC("the end!", insn->sec, insn->offset);
 			return -1;
 		}
 		insn = next;