All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [zen-kernel-zen-kernel:5.13/futex2-tkg 1/15] arch/nios2/kernel/syscall_table.c:13:36: warning: initialized field overwritten
Date: Wed, 21 Jul 2021 09:31:06 +0800	[thread overview]
Message-ID: <202107210958.jRHWSbbe-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-07-21  1:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107210958.jRHWSbbe-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.