Subject: + documentation-cpu-hotplug-fix-the-typo-in-example-code.patch added to -mm tree To: sangjung.woo@xxxxxxxxxxx,srivatsa.bhat@xxxxxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx 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 <sangjung.woo@xxxxxxxxxxx> 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. Signed-off-by: Sangjung Woo <sangjung.woo@xxxxxxxxxxx> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/cpu-hotplug.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN Documentation/cpu-hotplug.txt~documentation-cpu-hotplug-fix-the-typo-in-example-code Documentation/cpu-hotplug.txt --- a/Documentation/cpu-hotplug.txt~documentation-cpu-hotplug-fix-the-typo-in-example-code +++ a/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 sangjung.woo@xxxxxxxxxxx are documentation-cpu-hotplug-fix-the-typo-in-example-code.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html