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-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 23 May 2018 05:30:35 +0800
From:   kbuild test robot <fengguang.wu@...el.com>
To:     "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [RFC PATCH rcu] rcutorture: __pcpu_scope_rcu_torture_timer_rand can
 be static


Fixes: 816e0790625a ("rcutorture: Use per-CPU random state for rcu_torture_timer()")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
 rcutorture.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
index 5683bfb..a03313e 100644
--- a/kernel/rcu/rcutorture.c
+++ b/kernel/rcu/rcutorture.c
@@ -1142,7 +1142,7 @@ static bool rcu_torture_one_read(struct torture_random_state *trsp)
 	return true;
 }
 
-DEFINE_TORTURE_RANDOM_PERCPU(rcu_torture_timer_rand);
+static DEFINE_TORTURE_RANDOM_PERCPU(rcu_torture_timer_rand);
 
 /*
  * RCU torture reader from timer handler.  Dereferences rcu_torture_current,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ