Re: [PATCH v3 3/3] mm/mempolicy: wire up syscall set_mempolicy_home_node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi "Aneesh,

I love your patch! Yet something to improve:

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on linus/master v5.15-rc7]
[cannot apply to hnaz-mm/master tip/x86/asm next-20211029]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/mm-add-new-syscall-set_mempolicy_home_node/20211028-165859
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/03cd3cdc88672826372b7c63c563949463ce8bc5
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Aneesh-Kumar-K-V/mm-add-new-syscall-set_mempolicy_home_node/20211028-165859
        git checkout 03cd3cdc88672826372b7c63c563949463ce8bc5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2 

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

All errors (new ones prefixed by >>):

>> arch/nios2/kernel/syscall_table.c:13:36: error: initialized field overwritten [-Werror=override-init]
      13 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:883:1: note: in expansion of macro '__SYSCALL'
     883 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   arch/nios2/kernel/syscall_table.c:13:36: note: (near initialization for 'sys_call_table[448]')
      13 | #define __SYSCALL(nr, call) [nr] = (call),
         |                                    ^
   include/uapi/asm-generic/unistd.h:883:1: note: in expansion of macro '__SYSCALL'
     883 | __SYSCALL(__NR_process_mrelease, sys_process_mrelease)
         | ^~~~~~~~~
   cc1: all warnings being treated as errors


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  

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux