tree:
https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git libnvdimm-fixes
head: 3305ce9e90c8f1fefdf75acfbb814574c12bfcc5
commit: ec5f196ad972cd740bcbe6ef9c89a8a92d54ba44 [1/2] dm: Call proper helper to determine
dax support
config: openrisc-randconfig-r022-20200918 (attached as .config)
compiler: or1k-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
git checkout ec5f196ad972cd740bcbe6ef9c89a8a92d54ba44
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
or1k-linux-ld: drivers/md/dm-table.o: in function `device_supports_dax':
> drivers/md/dm-table.c:866: undefined reference to
`dax_read_lock'
drivers/md/dm-table.c:866:(.text+0x84c): relocation truncated
to fit: R_OR1K_INSN_REL_26 against undefined symbol `dax_read_lock'
> or1k-linux-ld: drivers/md/dm-table.c:868: undefined reference to
`dax_read_unlock'
drivers/md/dm-table.c:868:(.text+0x854): relocation
truncated to fit: R_OR1K_INSN_REL_26 against undefined symbol `dax_read_unlock'
#
https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/commit/...
git remote add linux-nvdimm
https://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git
git fetch --no-tags linux-nvdimm libnvdimm-fixes
git checkout ec5f196ad972cd740bcbe6ef9c89a8a92d54ba44
vim +866 drivers/md/dm-table.c
858
859 /* validate the dax capability of the target device span */
860 int device_supports_dax(struct dm_target *ti, struct dm_dev *dev,
861 sector_t start, sector_t len, void *data)
862 {
863 int blocksize = *(int *) data, id;
864 bool rc;
865
866 id = dax_read_lock();
867 rc =
dax_supported(dev->dax_dev, dev->bdev, blocksize, start, len);
868 dax_read_unlock(id);
869
870 return rc;
871 }
872
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org