[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140115153328.49a61c6bcd5897fad89af35c@linux-foundation.org>
Date: Wed, 15 Jan 2014 15:33:28 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Sangjung Woo <sangjung.woo@...sung.com>
Cc: Rob Landley <rob@...dley.net>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, "Rafael J. Wysocki" <rjw@...k.pl>
Subject: Re: [PATCH] Documentation / CPU hotplug: Fix the typo in example
code
On Wed, 15 Jan 2014 14:10:26 +0900 Sangjung Woo <sangjung.woo@...sung.com> wrote:
> 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.
>
btw, that document doesn't mention hotcpu_notifier(), which is actually
the preferred means of registration. Because it causes all the hotplug
code to be elided when CONFIG_HOTPLUG_CPU=n, without using ifdefs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists