linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [rcu:dev.2020.12.23a 133/149] kernel/time/clocksource.c:220:6: sparse: sparse: symbol 'clocksource_verify_one_cpu' was not declared. Should it be
@ 2020-12-26 16:57 kernel test robot
  2020-12-26 16:57 ` [RFC PATCH rcu] clocksource: clocksource_verify_one_cpu() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-12-26 16:57 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.23a
head:   7cc07f4867eb9618d4f7c35ddfbd746131b52f51
commit: 6a70298420b2bd6d3e3dc86d81b993f618df8569 [133/149] clocksource: Check per-CPU clock synchronization when marked unstable
config: x86_64-randconfig-s021-20201223 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-184-g1b896707-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git/commit/?id=6a70298420b2bd6d3e3dc86d81b993f618df8569
        git remote add rcu https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git
        git fetch --no-tags rcu dev.2020.12.23a
        git checkout 6a70298420b2bd6d3e3dc86d81b993f618df8569
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
>> kernel/time/clocksource.c:220:6: sparse: sparse: symbol 'clocksource_verify_one_cpu' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30018 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH rcu] clocksource: clocksource_verify_one_cpu() can be static
  2020-12-26 16:57 [rcu:dev.2020.12.23a 133/149] kernel/time/clocksource.c:220:6: sparse: sparse: symbol 'clocksource_verify_one_cpu' was not declared. Should it be kernel test robot
@ 2020-12-26 16:57 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-12-26 16:57 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: kbuild-all, linux-kernel


Fixes: 6a70298420b2 ("clocksource: Check per-CPU clock synchronization when marked unstable")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 clocksource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index c455f84f130285..01b03d5f98a9cb 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -217,7 +217,7 @@ static DEFINE_PER_CPU(u64, csnow_mid);
 static cpumask_t cpus_ahead;
 static cpumask_t cpus_behind;
 
-void clocksource_verify_one_cpu(void *csin)
+static void clocksource_verify_one_cpu(void *csin)
 {
 	struct clocksource *cs = (struct clocksource *)csin;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-26 16:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-26 16:57 [rcu:dev.2020.12.23a 133/149] kernel/time/clocksource.c:220:6: sparse: sparse: symbol 'clocksource_verify_one_cpu' was not declared. Should it be kernel test robot
2020-12-26 16:57 ` [RFC PATCH rcu] clocksource: clocksource_verify_one_cpu() can be static kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).