public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Engestrom <eric.engestrom@imgtec.com>
To: <linux-kernel@vger.kernel.org>
Cc: Eric Engestrom <eric.engestrom@imgtec.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Josh Triplett <josh@joshtriplett.org>
Subject: [PATCH] rcu: add missing prototype
Date: Tue, 20 Sep 2016 17:32:59 +0100	[thread overview]
Message-ID: <20160920163259.5566-1-eric.engestrom@imgtec.com> (raw)

`make W=1` warns:
kernel/rcu/tree.c:226:15: warning: no previous prototype for ‘rcu_rnp_online_cpus’ [-Wmissing-prototypes]
 unsigned long rcu_rnp_online_cpus(struct rcu_node *rnp)
               ^~~~~~~~~~~~~~~~~~~

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
---

I couldn't figure out how this list is ordered, I'm happy to move this
line if you want :)

---
 kernel/rcu/tree.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h
index f714f87..23be3dc 100644
--- a/kernel/rcu/tree.h
+++ b/kernel/rcu/tree.h
@@ -668,6 +668,7 @@ static void rcu_sysidle_init_percpu_data(struct rcu_dynticks *rdtp);
 static bool rcu_nohz_full_cpu(struct rcu_state *rsp);
 static void rcu_dynticks_task_enter(void);
 static void rcu_dynticks_task_exit(void);
+static unsigned long rcu_rnp_online_cpus(struct rcu_node *rnp);
 
 #endif /* #ifndef RCU_TREE_NONCORE */
 
-- 
Cheers,
  Eric

             reply	other threads:[~2016-09-20 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-20 16:32 Eric Engestrom [this message]
2016-09-21 18:48 ` [PATCH] rcu: add missing prototype Paul E. McKenney

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=20160920163259.5566-1-eric.engestrom@imgtec.com \
    --to=eric.engestrom@imgtec.com \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.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