All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?
@ 2022-07-18 23:16 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-07-18 23:16 UTC (permalink / raw)
  To: Helge Deller; +Cc: kbuild-all, linux-kernel, John David Anglin

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   80e19f34c2887a8881084b7bb7480e9544d56b91
commit: b7795074a04669d0a023babf786d29bf67c68783 parisc: Optimize per-pagetable spinlocks
date:   1 year, 5 months ago
config: parisc-randconfig-s032-20220718 (https://download.01.org/0day-ci/archive/20220719/202207190738.uOrugo2G-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7795074a04669d0a023babf786d29bf67c68783
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b7795074a04669d0a023babf786d29bf67c68783
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash

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


sparse warnings: (new ones prefixed by >>)
>> arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?

vim +/pa_swapper_pg_lock +50 arch/parisc/kernel/cache.c

b37d1c1898b288 Mikulas Patocka 2019-04-28  45   * this.
^1da177e4c3f41 Linus Torvalds  2005-04-16  46   */
b37d1c1898b288 Mikulas Patocka 2019-04-28  47  DEFINE_SPINLOCK(pa_tlb_flush_lock);
b37d1c1898b288 Mikulas Patocka 2019-04-28  48  
b37d1c1898b288 Mikulas Patocka 2019-04-28  49  /* Swapper page setup lock. */
b37d1c1898b288 Mikulas Patocka 2019-04-28 @50  DEFINE_SPINLOCK(pa_swapper_pg_lock);
b37d1c1898b288 Mikulas Patocka 2019-04-28  51  
b37d1c1898b288 Mikulas Patocka 2019-04-28  52  #if defined(CONFIG_64BIT) && defined(CONFIG_SMP)

:::::: The code at line 50 was first introduced by commit
:::::: b37d1c1898b288c69f3dc9267bc2c41af06f4a4b parisc: Use per-pagetable spinlock

:::::: TO: Mikulas Patocka <mpatocka@redhat.com>
:::::: CC: Helge Deller <deller@gmx.de>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

* arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?
@ 2021-11-25 17:08 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-25 17:08 UTC (permalink / raw)
  To: Helge Deller; +Cc: kbuild-all, linux-kernel, John David Anglin

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5f53fa508db098c9d372423a6dac31c8a5679cdf
commit: b7795074a04669d0a023babf786d29bf67c68783 parisc: Optimize per-pagetable spinlocks
date:   10 months ago
config: parisc-randconfig-s031-20211122 (https://download.01.org/0day-ci/archive/20211126/202111260110.KkIdLdT2-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7795074a04669d0a023babf786d29bf67c68783
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b7795074a04669d0a023babf786d29bf67c68783
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash

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 >>)
>> arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?

vim +/pa_swapper_pg_lock +50 arch/parisc/kernel/cache.c

b37d1c1898b288 Mikulas Patocka 2019-04-28  48  
b37d1c1898b288 Mikulas Patocka 2019-04-28  49  /* Swapper page setup lock. */
b37d1c1898b288 Mikulas Patocka 2019-04-28 @50  DEFINE_SPINLOCK(pa_swapper_pg_lock);
b37d1c1898b288 Mikulas Patocka 2019-04-28  51  

:::::: The code at line 50 was first introduced by commit
:::::: b37d1c1898b288c69f3dc9267bc2c41af06f4a4b parisc: Use per-pagetable spinlock

:::::: TO: Mikulas Patocka <mpatocka@redhat.com>
:::::: CC: Helge Deller <deller@gmx.de>

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

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

* arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?
@ 2021-11-25 17:08 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-25 17:08 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5f53fa508db098c9d372423a6dac31c8a5679cdf
commit: b7795074a04669d0a023babf786d29bf67c68783 parisc: Optimize per-pagetable spinlocks
date:   10 months ago
config: parisc-randconfig-s031-20211122 (https://download.01.org/0day-ci/archive/20211126/202111260110.KkIdLdT2-lkp(a)intel.com/config)
compiler: hppa-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b7795074a04669d0a023babf786d29bf67c68783
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout b7795074a04669d0a023babf786d29bf67c68783
        # save the config file to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=parisc SHELL=/bin/bash

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 >>)
>> arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static?

vim +/pa_swapper_pg_lock +50 arch/parisc/kernel/cache.c

b37d1c1898b288 Mikulas Patocka 2019-04-28  48  
b37d1c1898b288 Mikulas Patocka 2019-04-28  49  /* Swapper page setup lock. */
b37d1c1898b288 Mikulas Patocka 2019-04-28 @50  DEFINE_SPINLOCK(pa_swapper_pg_lock);
b37d1c1898b288 Mikulas Patocka 2019-04-28  51  

:::::: The code at line 50 was first introduced by commit
:::::: b37d1c1898b288c69f3dc9267bc2c41af06f4a4b parisc: Use per-pagetable spinlock

:::::: TO: Mikulas Patocka <mpatocka@redhat.com>
:::::: CC: Helge Deller <deller@gmx.de>

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

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

end of thread, other threads:[~2022-07-18 23:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 23:16 arch/parisc/kernel/cache.c:50:1: sparse: sparse: symbol 'pa_swapper_pg_lock' was not declared. Should it be static? kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-11-25 17:08 kernel test robot
2021-11-25 17:08 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.