All of lore.kernel.org
 help / color / mirror / Atom feed
* [zen-kernel-zen-kernel:5.13/futex2-tkg 1/15] arch/nios2/kernel/syscall_table.c:13:36: warning: initialized field overwritten
@ 2021-07-21  1:31 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-21  1:31 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/zen-kernel/zen-kernel 5.13/futex2-tkg
head:   8eb940ffa39f19c4ddf284615dfb27a6444a3c1d
commit: 37a0532a3900c993a6c2c213f20d6b8f3b93be52 [1/15] futex2: Implement wait and wake functions
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/zen-kernel/zen-kernel/commit/37a0532a3900c993a6c2c213f20d6b8f3b93be52
        git remote add zen-kernel-zen-kernel https://github.com/zen-kernel/zen-kernel
        git fetch --no-tags zen-kernel-zen-kernel 5.13/futex2-tkg
        git checkout 37a0532a3900c993a6c2c213f20d6b8f3b93be52
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2 

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

All warnings (new ones prefixed by >>):

>> arch/nios2/kernel/syscall_table.c:13:36: warning: initialized field overwritten [-Woverride-init]
      13 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:879:1: note: in expansion of macro '__SYSCALL'
     879 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
         | ^~~~~~~~~
   arch/nios2/kernel/syscall_table.c:13:36: note: (near initialization for 'sys_call_table[444]')
      13 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:879:1: note: in expansion of macro '__SYSCALL'
     879 | __SYSCALL(__NR_futex_wake, sys_futex_wake)
         | ^~~~~~~~~


vim +13 arch/nios2/kernel/syscall_table.c

1000197d801329 Ley Foon Tan 2014-11-06  11  
1000197d801329 Ley Foon Tan 2014-11-06  12  #undef __SYSCALL
1000197d801329 Ley Foon Tan 2014-11-06 @13  #define __SYSCALL(nr, call) [nr] = (call),
1000197d801329 Ley Foon Tan 2014-11-06  14  

:::::: The code at line 13 was first introduced by commit
:::::: 1000197d801329804d30094aef5dba0265204d17 nios2: System calls handling

:::::: TO: Ley Foon Tan <lftan@altera.com>
:::::: CC: Ley Foon Tan <lftan@altera.com>

---
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: 59674 bytes --]

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

only message in thread, other threads:[~2021-07-21  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-21  1:31 [zen-kernel-zen-kernel:5.13/futex2-tkg 1/15] arch/nios2/kernel/syscall_table.c:13:36: warning: initialized field overwritten 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.