tree:
git://git.infradead.org/users/hch/misc.git dax-block-cleanup
head: f95e4c72e7784a68edcdb95f4211b9636880ff29
commit: f95e4c72e7784a68edcdb95f4211b9636880ff29 [3/3] dax: rework the dax_device
<-> gendisk association
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc dax-block-cleanup
git checkout f95e4c72e7784a68edcdb95f4211b9636880ff29
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
ld: mm/readahead.o: in function `dax_remove_host':
> readahead.c:(.text+0x8a0): multiple definition of
`dax_remove_host'; mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: mm/truncate.o: in function `dax_remove_host':
truncate.c:(.text+0x1210): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: mm/vmscan.o: in function `dax_remove_host':
vmscan.c:(.text+0x24c0): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: mm/workingset.o: in function `dax_remove_host':
workingset.c:(.text+0x3a0): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: mm/memory.o: in function `dax_remove_host':
memory.c:(.text+0xc70): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/binfmt_elf.o: in function `dax_remove_host':
binfmt_elf.c:(.text+0x3160): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/iomap/buffered-io.o: in function `dax_remove_host':
buffered-io.c:(.text+0x3720): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/ext4/file.o: in function `dax_remove_host':
file.c:(.text+0x1600): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/ext4/indirect.o: in function `dax_remove_host':
indirect.c:(.text+0xd20): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/ext4/inode.o: in function `dax_remove_host':
inode.c:(.text+0x1ed0): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
ld: fs/ext4/super.o: in function `dax_remove_host':
super.c:(.text+0x2680): multiple definition of `dax_remove_host';
mm/filemap.o:filemap.c:(.text+0x47f0): first defined here
--
In file included from mm/filemap.c:15:
> include/linux/dax.h:133:67: warning: 'struct gendisk'
declared inside parameter list will not be visible outside of this definition or
declaration
133 | static inline int dax_add_host(struct dax_device *dax_dev,
struct gendisk *disk)
| ^~~~~~~
include/linux/dax.h:137:29: warning: 'struct gendisk' declared inside parameter
list will not be visible outside of this definition or declaration
137 | void dax_remove_host(struct gendisk *disk)
| ^~~~~~~
> include/linux/dax.h:137:6: warning: no previous prototype for
'dax_remove_host' [-Wmissing-prototypes]
137 | void
dax_remove_host(struct gendisk *disk)
| ^~~~~~~~~~~~~~~
--
In file included from mm/truncate.c:13:
> include/linux/dax.h:137:6: warning: no previous prototype for
'dax_remove_host' [-Wmissing-prototypes]
137 | void
dax_remove_host(struct gendisk *disk)
| ^~~~~~~~~~~~~~~
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org