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! Perhaps something to improve:

[auto build test WARNING on arm64/for-next/core]
[also build test WARNING on linus/master v5.15-rc7]
[cannot apply to hnaz-mm/master tip/x86/asm next-20211028]
[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: h8300-randconfig-r016-20211028 (attached as .config)
compiler: h8300-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=h8300 

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

All warnings (new ones prefixed by >>):

>> arch/h8300/kernel/syscalls.c:7:36: warning: initialized field overwritten [-Woverride-init]
       7 | #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/h8300/kernel/syscalls.c:7:36: note: (near initialization for '_sys_call_table[448]')
       7 | #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)
         | ^~~~~~~~~


vim +7 arch/h8300/kernel/syscalls.c

4e0c20981ec16d Yoshinori Sato 2015-01-28  5  
4e0c20981ec16d Yoshinori Sato 2015-01-28  6  #undef __SYSCALL
4e0c20981ec16d Yoshinori Sato 2015-01-28 @7  #define __SYSCALL(nr, call) [nr] = (call),
4e0c20981ec16d Yoshinori Sato 2015-01-28  8  

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