Linux CXL
 help / color / mirror / Atom feed
* [cxl:for-6.3/cxl-ram-region 17/18] drivers/cxl/port.c:47: undefined reference to `cxl_add_to_region'
@ 2023-01-28  8:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-28  8:37 UTC (permalink / raw)
  To: Dan Williams
  Cc: oe-kbuild-all, Alison Schofield, Vishal Verma, Ira Weiny,
	Ben Widawsky, Dan Williams, linux-cxl

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git for-6.3/cxl-ram-region
head:   a7cf664d7e997ac36b0f466af2e2be33464ab598
commit: 3c6c8594f9a2bcb4af19bc8de669ed43834b8d7f [17/18] cxl/region: Add region autodiscovery
config: ia64-randconfig-m041-20230123 (https://download.01.org/0day-ci/archive/20230128/202301281643.cInr5zLC-lkp@intel.com/config)
compiler: ia64-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/cxl/cxl.git/commit/?id=3c6c8594f9a2bcb4af19bc8de669ed43834b8d7f
        git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
        git fetch --no-tags cxl for-6.3/cxl-ram-region
        git checkout 3c6c8594f9a2bcb4af19bc8de669ed43834b8d7f
        # 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=ia64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   ia64-linux-ld: drivers/cxl/port.o: in function `discover_region':
>> drivers/cxl/port.c:47: undefined reference to `cxl_add_to_region'


vim +47 drivers/cxl/port.c

    32	
    33	static int discover_region(struct device *dev, void *data)
    34	{
    35		const unsigned long flags = CXL_DECODER_F_ENABLE | CXL_DECODER_F_AUTO;
    36		struct cxl_endpoint_decoder *cxled;
    37	
    38		if (!is_endpoint_decoder(dev))
    39			return 0;
    40	
    41		cxled = to_cxl_endpoint_decoder(dev);
    42		if ((cxled->cxld.flags & flags) != flags)
    43			return 0;
    44	
    45		cxl_add_to_region(cxled);
    46	
  > 47		return 0;
    48	}
    49	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

only message in thread, other threads:[~2023-01-28  8:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-28  8:37 [cxl:for-6.3/cxl-ram-region 17/18] drivers/cxl/port.c:47: undefined reference to `cxl_add_to_region' 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