Re: [PATCH v10 7/9] Reimplement RLIMIT_MEMLOCK on top of ucounts

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

 



Hi Alexey,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on kselftest/next]
[also build test ERROR on linux/master linus/master v5.12-rc6]
[cannot apply to hnaz-linux-mm/master next-20210407]
[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/Alexey-Gladkov/Count-rlimits-in-each-user-namespace/20210408-011035
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: h8300-randconfig-r036-20210407 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.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/0day-ci/linux/commit/c51852ea5ec30e7b4817293557d70904e52fe33a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Alexey-Gladkov/Count-rlimits-in-each-user-namespace/20210408-011035
        git checkout c51852ea5ec30e7b4817293557d70904e52fe33a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300 

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

All errors (new ones prefixed by >>):

>> mm/shmem.c:4096:5: error: conflicting types for 'shmem_lock'
    4096 | int shmem_lock(struct file *file, int lock, struct user_struct *user)
         |     ^~~~~~~~~~
   In file included from include/linux/khugepaged.h:6,
                    from mm/shmem.c:37:
   include/linux/shmem_fs.h:68:12: note: previous declaration of 'shmem_lock' was here
      68 | extern int shmem_lock(struct file *file, int lock, struct ucounts *ucounts);
         |            ^~~~~~~~~~


vim +/shmem_lock +4096 mm/shmem.c

853ac43ab194f5 Matt Mackall 2009-01-06  4095  
3f96b79ad96263 Hugh Dickins 2009-09-21 @4096  int shmem_lock(struct file *file, int lock, struct user_struct *user)
3f96b79ad96263 Hugh Dickins 2009-09-21  4097  {
3f96b79ad96263 Hugh Dickins 2009-09-21  4098  	return 0;
3f96b79ad96263 Hugh Dickins 2009-09-21  4099  }
3f96b79ad96263 Hugh Dickins 2009-09-21  4100  

---
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 Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux