lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190322142659.12368-1-yuehaibing@huawei.com>
Date:   Fri, 22 Mar 2019 22:26:59 +0800
From:   Yue Haibing <yuehaibing@...wei.com>
To:     <paulmck@...ux.ibm.com>, <josh@...htriplett.org>,
        <rostedt@...dmis.org>, <mathieu.desnoyers@...icios.com>,
        <jiangshanlai@...il.com>, <joel@...lfernandes.org>
CC:     <linux-kernel@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] rcu/tree: Make rcu_check_gp_start_stall static

From: YueHaibing <yuehaibing@...wei.com>

Fix sparse warning:

kernel/rcu/tree.c:2643:1: warning:
 symbol 'rcu_check_gp_start_stall' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
 kernel/rcu/tree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index acd6ccf..ed3ef40 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -2639,7 +2639,7 @@ EXPORT_SYMBOL_GPL(rcu_force_quiescent_state);
  * This function checks for grace-period requests that fail to motivate
  * RCU to come out of its idle mode.
  */
-void
+static void
 rcu_check_gp_start_stall(struct rcu_node *rnp, struct rcu_data *rdp,
 			 const unsigned long gpssdelay)
 {
-- 
2.7.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ