From: kernel test robot <[email protected]>
To: Christian Brauner <[email protected]>
Cc: [email protected],
GNU/Weeb Mailing List <[email protected]>,
[email protected]
Subject: [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
Date: Wed, 6 Jul 2022 02:07:59 +0800 [thread overview]
Message-ID: <[email protected]> (raw)
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
reply other threads:[~2022-07-05 18:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox