Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 8 Apr 2021 05:37:55 +0800
From: kernel test robot <>
To: Alexey Gladkov <>,
	LKML <>,
	Kernel Hardening <>,
	Linux Containers <>,
Cc:, Alexey Gladkov <>,
	Andrew Morton <>,
	Linux Memory Management List <>,
	Christian Brauner <>,
	"Eric W . Biederman" <>,
	Jann Horn <>
Subject: Re: [PATCH v10 7/9] Reimplement RLIMIT_MEMLOCK on top of ucounts

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]

base: 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 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add linux-review
        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 <>

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

Download attachment ".config.gz" of type "application/gzip" (25061 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.