Skip to contentSkip to conversation

jump_label: Fix typo in warning message

PATCH In review Borislav Petkov 4 participants 4 messages Sep 7, 2018 – Sep 10, 2018 Static branch/call

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jump_label: Fix typo in warning message

From: Borislav Petkov <[email protected]>

There's no 'allocatote' - use the next best thing: 'allocate' :-)

Cc Ingo Molnar <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc "Steven Rostedt (VMware)" <[email protected]>
Cc Jason Baron <[email protected]>
---
 kernel/jump_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/jump_label.c +1 -1
index 01ebdf1f9f40..2e62503bea0d 100644
@@ -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;
Signature · 1 line
2.17.0.582.gccdcbd54c
maintainer
#1 lore raw
Quoted 3 lines · Borislav Petkov

From: Borislav Petkov <[email protected]>

There's no 'allocatote' - use the next best thing: 'allocate' :-)

There damn well should be ;-)

Thanks!

reviewer Acked-by on v1 1/1
#2 lore raw
In reply to Borislav Petkov
Quoted 3 lines · On Fri, 7 Sep 2018 12:35:21 +0200 Borislav Petkov <[email protected]> wrote:

From: Borislav Petkov <[email protected]>

There's no 'allocatote' - use the next best thing: 'allocate' :-)

Nice.

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

-- Steve

Quoted 24 lines
Cc Ingo Molnar <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc "Steven Rostedt (VMware)" <[email protected]>
Cc Jason Baron <[email protected]>
---
 kernel/jump_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/jump_label.c +1 -1
index 01ebdf1f9f40..2e62503bea0d 100644
@@ -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;
#3 lore raw
In reply to Borislav Petkov
jump_label: Fix typo in warning message
Commit-ID:  da260fe12330be8b003c2ab07a112704163ea675
Gitweb:     https://git.kernel.org/tip/da260fe12330be8b003c2ab07a112704163ea675
Author:     Borislav Petkov <[email protected]>
AuthorDate: Fri, 7 Sep 2018 12:35:21 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 10 Sep 2018 10:15:48 +0200

jump_label: Fix typo in warning message

There's no 'allocatote' - use the next best thing: 'allocate' :-)

---
 kernel/jump_label.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/jump_label.c +1 -1
index 01ebdf1f9f40..2e62503bea0d 100644
@@ -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;