All of lore.kernel.org
 help / color / mirror / Atom feed
* [alexshi:next 6/6] include/asm-generic/atomic.h:114:1: sparse: sparse: invalid access past the end of 'vm_zone_stat' (68 44)
@ 2020-12-11  2:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-11  2:10 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
TO: Alex Shi <alex.shi@linux.alibaba.com>

tree:   https://github.com/alexshi/linux.git next
head:   97db38ee8c7dadffdf2fb836c79be6a6a7559904
commit: 97db38ee8c7dadffdf2fb836c79be6a6a7559904 [6/6] lru: cacheline 64 bytes for each of lru lists
:::::: branch date: 14 hours ago
:::::: commit date: 14 hours ago
config: nios2-randconfig-s031-20201209 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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.3-179-ga00755aa-dirty
        # https://github.com/alexshi/linux/commit/97db38ee8c7dadffdf2fb836c79be6a6a7559904
        git remote add alexshi https://github.com/alexshi/linux.git
        git fetch --no-tags alexshi next
        git checkout 97db38ee8c7dadffdf2fb836c79be6a6a7559904
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=nios2 

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 >>)"
   mm/vmscan.c: note: in included file (through arch/nios2/include/generated/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/lock.h, ...):
>> include/asm-generic/atomic.h:114:1: sparse: sparse: invalid access past the end of 'vm_zone_stat' (68 44)
   mm/vmscan.c: note: in included file (through include/linux/swap.h):
   include/linux/memcontrol.h:1590:39: sparse: sparse: context imbalance in 'check_move_unevictable_pages' - unexpected unlock

vim +/vm_zone_stat +114 include/asm-generic/atomic.h

560cb12a4080a4 Peter Zijlstra 2014-04-23  112  
560cb12a4080a4 Peter Zijlstra 2014-04-23  113  #ifndef atomic_add_return
560cb12a4080a4 Peter Zijlstra 2014-04-23 @114  ATOMIC_OP_RETURN(add, +)
560cb12a4080a4 Peter Zijlstra 2014-04-23  115  #endif
560cb12a4080a4 Peter Zijlstra 2014-04-23  116  

:::::: The code at line 114 was first introduced by commit
:::::: 560cb12a4080a48b84da8b96878cafbd193c4d64 locking,arch: Rewrite generic atomic support

:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-11  2:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-11  2:10 [alexshi:next 6/6] include/asm-generic/atomic.h:114:1: sparse: sparse: invalid access past the end of 'vm_zone_stat' (68 44) 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.