public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:brauner/linux/fs.idmapped.overlay.acl.fix 1/1] include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
@ 2022-07-05 18:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-05 18:07 UTC (permalink / raw)
  To: Christian Brauner; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel

tree:   https://github.com/ammarfaizi2/linux-block brauner/linux/fs.idmapped.overlay.acl.fix
head:   05bde3ad56201ff691db6d95ea1316983ea82a9c
commit: 05bde3ad56201ff691db6d95ea1316983ea82a9c [1/1] acl: report correct ownership in some ovl use-cases
config: microblaze-randconfig-r013-20220703 (https://download.01.org/0day-ci/archive/20220706/[email protected]/config)
compiler: microblaze-linux-gcc (GCC) 11.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/ammarfaizi2/linux-block/commit/05bde3ad56201ff691db6d95ea1316983ea82a9c
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block brauner/linux/fs.idmapped.overlay.acl.fix
        git checkout 05bde3ad56201ff691db6d95ea1316983ea82a9c
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   microblaze-linux-ld: fs/xattr.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/xattr.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/super.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/super.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/dir.o: in function `posix_acl_getxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here
   microblaze-linux-ld: fs/overlayfs/dir.o: in function `posix_acl_setxattr_idmapped_mnt':
>> include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_setxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here


vim +55 include/linux/posix_acl_xattr.h

^1da177e4c3f41 Linus Torvalds    2005-04-16  34  
2f6f0654ab6196 Eric W. Biederman 2012-02-07  35  #ifdef CONFIG_FS_POSIX_ACL
05bde3ad56201f Christian Brauner 2022-07-04  36  void posix_acl_fix_xattr_from_user(void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  37  void posix_acl_fix_xattr_to_user(void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  38  void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  39  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  40  				     void *value, size_t size);
05bde3ad56201f Christian Brauner 2022-07-04  41  void posix_acl_setxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  42  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  43  				     void *value, size_t size);
2f6f0654ab6196 Eric W. Biederman 2012-02-07  44  #else
05bde3ad56201f Christian Brauner 2022-07-04  45  static inline void posix_acl_fix_xattr_from_user(void *value, size_t size)
05bde3ad56201f Christian Brauner 2022-07-04  46  {
05bde3ad56201f Christian Brauner 2022-07-04  47  }
05bde3ad56201f Christian Brauner 2022-07-04  48  static inline void posix_acl_fix_xattr_to_user(void *value, size_t size)
05bde3ad56201f Christian Brauner 2022-07-04  49  {
05bde3ad56201f Christian Brauner 2022-07-04  50  }
05bde3ad56201f Christian Brauner 2022-07-04  51  void posix_acl_getxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  52  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  53  				     void *value, size_t size)
2f6f0654ab6196 Eric W. Biederman 2012-02-07  54  {
2f6f0654ab6196 Eric W. Biederman 2012-02-07 @55  }
05bde3ad56201f Christian Brauner 2022-07-04  56  void posix_acl_setxattr_idmapped_mnt(struct user_namespace *mnt_userns,
05bde3ad56201f Christian Brauner 2022-07-04  57  				     const struct inode *inode,
e65ce2a50cf6af Christian Brauner 2021-01-21  58  				     void *value, size_t size)
2f6f0654ab6196 Eric W. Biederman 2012-02-07  59  {
2f6f0654ab6196 Eric W. Biederman 2012-02-07  60  }
2f6f0654ab6196 Eric W. Biederman 2012-02-07  61  #endif
2f6f0654ab6196 Eric W. Biederman 2012-02-07  62  

:::::: The code at line 55 was first introduced by commit
:::::: 2f6f0654ab61961fd0f7701fe3be89ea111f0cda userns: Convert vfs posix_acl support to use kuids and kgids

:::::: TO: Eric W. Biederman <[email protected]>
:::::: CC: Eric W. Biederman <[email protected]>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-05 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-05 18:07 [ammarfaizi2-block:brauner/linux/fs.idmapped.overlay.acl.fix 1/1] include/linux/posix_acl_xattr.h:55: multiple definition of `posix_acl_getxattr_idmapped_mnt'; mm/shmem.o:include/linux/posix_acl_xattr.h:55: first defined here kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox