From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rcu: fix sparse warning for rcu_expedited from kernel/ksysfs.c
Date: Thu, 13 Feb 2014 16:32:07 -0800 [thread overview]
Message-ID: <20140214003207.GN4250@linux.vnet.ibm.com> (raw)
In-Reply-To: <1392153012-14378-1-git-send-email-paul.gortmaker@windriver.com>
On Tue, Feb 11, 2014 at 04:10:12PM -0500, Paul Gortmaker wrote:
> To fix:
>
> kernel/ksysfs.c:143:5: warning: symbol 'rcu_expedited' was not declared. Should it be static?
>
> Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Queued, thank you!
Thanx, Paul
> ---
> kernel/ksysfs.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c
> index d945a949760f..53476a147b9a 100644
> --- a/kernel/ksysfs.c
> +++ b/kernel/ksysfs.c
> @@ -19,6 +19,8 @@
> #include <linux/sched.h>
> #include <linux/capability.h>
>
> +#include "rcu/rcu.h" /* rcu_expedited */
> +
> #define KERNEL_ATTR_RO(_name) \
> static struct kobj_attribute _name##_attr = __ATTR_RO(_name)
>
> --
> 1.8.5.2
>
next prev parent reply other threads:[~2014-02-14 0:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 21:10 [PATCH] rcu: fix sparse warning for rcu_expedited from kernel/ksysfs.c Paul Gortmaker
2014-02-14 0:32 ` Paul E. McKenney [this message]
2014-02-17 20:36 ` Paul E. McKenney
2014-02-19 4:35 ` Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140214003207.GN4250@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox