[djbw-nvdimm:libnvdimm-pending 13/17] mapping.c:(.rodata.cst4+0x158): undefined reference to `dax_flush'

From: kernel test robot
Date: Sun Sep 04 2022 - 16:14:04 EST


Hi Dan,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git libnvdimm-pending
head: 28533c3555d9f4cc074eb01189343adbaa47b6f5
commit: 1ea5502b1e98f725dfb7d47839ea6ab6dc201e9f [13/17] devdax: Move address_space helpers to the DAX core
config: parisc-randconfig-r004-20220904 (https://download.01.org/0day-ci/archive/20220905/202209050355.CsrTeF0B-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git/commit/?id=1ea5502b1e98f725dfb7d47839ea6ab6dc201e9f
git remote add djbw-nvdimm https://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm.git
git fetch --no-tags djbw-nvdimm libnvdimm-pending
git checkout 1ea5502b1e98f725dfb7d47839ea6ab6dc201e9f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

hppa-linux-ld: drivers/dax/mapping.o: in function `.LC303':
>> mapping.c:(.rodata.cst4+0x158): undefined reference to `dax_flush'

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