Skip to contentSkip to conversation

+ documentation-cpu-hotplug-fix-the-typo-in-example-code.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jan 15, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: + documentation-cpu-hotplug-fix-the-typo-in-example-code.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Wed, 15 Jan 2014 15:33:34 -0800

The patch titled
Subject: Documentation/cpu-hotplug.txt: fix a typo in example code
has been added to the -mm tree. Its filename is
documentation-cpu-hotplug-fix-the-typo-in-example-code.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/documentation-cpu-hotplug-fix-the-typo-in-example-code.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/documentation-cpu-hotplug-fix-the-typo-in-example-code.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Sangjung Woo <[email protected]>
Subject: Documentation/cpu-hotplug.txt: fix a typo in example code

As the notifier_block name (i.e. foobar_cpu_notifer) is different from the parameter (i.e.foobar_cpu_notifier) of register function, that is definitely error and it also makes readers confused.

---

 Documentation/cpu-hotplug.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/cpu-hotplug.txt renamed from Documentation/cpu-hotplug.txt~documentation-cpu-hotplug-fix-the-typo-in-example-code +1 -1
diff -puN Documentation/cpu-hotplug.txt~documentation-cpu-hotplug-fix-the-typo-in-example-code Documentation/cpu-hotplug.txt
@@ -285,7 +285,7 @@ A: This is what you would need in your k
 		return NOTIFY_OK;
 	}
 
-	static struct notifier_block foobar_cpu_notifer =
+	static struct notifier_block foobar_cpu_notifier =
 	{
 	   .notifier_call = foobar_cpu_callback,
 	};

_

Patches currently in -mm which might be from [email protected] are

documentation-cpu-hotplug-fix-the-typo-in-example-code.patch