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
| ||
|
Date: Fri, 31 Jul 2020 09:23:03 -0000 From: "tip-bot2 for Paul E. McKenney" <tip-bot2@...utronix.de> To: linux-tip-commits@...r.kernel.org Cc: kbuild test robot <lkp@...el.com>, "Joel Fernandes (Google)" <joel@...lfernandes.org>, "Paul E. McKenney" <paulmck@...nel.org>, x86 <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org> Subject: [tip: core/rcu] refperf: Make functions static The following commit has been merged into the core/rcu branch of tip: Commit-ID: 2990750bceb05c3cdeae3a6d2683cbc4ae4de15e Gitweb: https://git.kernel.org/tip/2990750bceb05c3cdeae3a6d2683cbc4ae4de15e Author: Paul E. McKenney <paulmck@...nel.org> AuthorDate: Tue, 26 May 2020 09:32:57 -07:00 Committer: Paul E. McKenney <paulmck@...nel.org> CommitterDate: Mon, 29 Jun 2020 12:00:45 -07:00 refperf: Make functions static Because the reset_readers() and process_durations() functions are used only within kernel/rcu/refperf.c, this commit makes them static. Reported-by: kbuild test robot <lkp@...el.com> Cc: Joel Fernandes (Google) <joel@...lfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@...nel.org> --- kernel/rcu/refperf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcu/refperf.c b/kernel/rcu/refperf.c index fc940e3..0a900f3 100644 --- a/kernel/rcu/refperf.c +++ b/kernel/rcu/refperf.c @@ -283,7 +283,7 @@ end: return 0; } -void reset_readers(void) +static void reset_readers(void) { int i; struct reader_task *rt; @@ -296,7 +296,7 @@ void reset_readers(void) } // Print the results of each reader and return the sum of all their durations. -u64 process_durations(int n) +static u64 process_durations(int n) { int i; struct reader_task *rt;
Powered by blists - more mailing lists