Re: [PATCH] jump_label: Fix typo in warning message

From: Steven Rostedt
Date: Fri Sep 07 2018 - 11:19:12 EST


On Fri, 7 Sep 2018 12:35:21 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:

> From: Borislav Petkov <bp@xxxxxxx>
>
> There's no 'allocatote' - use the next best thing: 'allocate' :-)

Nice.

Probably can go through the trivial tree (Cc'd).

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve

>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
> Cc: Jason Baron <jbaron@xxxxxxxxxx>
> ---
> kernel/jump_label.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/jump_label.c b/kernel/jump_label.c
> index 01ebdf1f9f40..2e62503bea0d 100644
> --- a/kernel/jump_label.c
> +++ b/kernel/jump_label.c
> @@ -678,7 +678,7 @@ jump_label_module_notify(struct notifier_block *self, unsigned long val,
> case MODULE_STATE_COMING:
> ret = jump_label_add_module(mod);
> if (ret) {
> - WARN(1, "Failed to allocatote memory: jump_label may not work properly.\n");
> + WARN(1, "Failed to allocate memory: jump_label may not work properly.\n");
> jump_label_del_module(mod);
> }
> break;