lkml.org 
[lkml]   [2022]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[cxl:preview 41/49] powerpc-linux-ld: port.c:undefined reference to `dev_attr_create_pmem_region'
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git preview
head: b2d4fd5c97b59f622e6c45ac51020cdcd66bb022
commit: 96ec07f789bf8a52f5c00d3310d9b7ec4c701738 [41/49] cxl/region: Allocate host physical address (HPA) capacity to new regions
config: powerpc-randconfig-r031-20220622 (https://download.01.org/0day-ci/archive/20220623/202206231626.oruggHVP-lkp@intel.com/config)
compiler: powerpc-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://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git/commit/?id=96ec07f789bf8a52f5c00d3310d9b7ec4c701738
git remote add cxl https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git
git fetch --no-tags cxl preview
git checkout 96ec07f789bf8a52f5c00d3310d9b7ec4c701738
# 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=powerpc 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 >>):

powerpc-linux-ld: drivers/cxl/core/port.o: in function `cxl_root_decoder_visible':
port.c:(.text+0x1a6): undefined reference to `dev_attr_create_pmem_region'
>> powerpc-linux-ld: port.c:(.text+0x1aa): undefined reference to `dev_attr_create_pmem_region'
>> powerpc-linux-ld: port.c:(.text+0x1ba): undefined reference to `dev_attr_delete_region'
powerpc-linux-ld: port.c:(.text+0x1be): undefined reference to `dev_attr_delete_region'
>> powerpc-linux-ld: drivers/cxl/core/port.o:(.data+0x130): undefined reference to `dev_attr_create_pmem_region'
>> powerpc-linux-ld: drivers/cxl/core/port.o:(.data+0x134): undefined reference to `dev_attr_delete_region'

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

\
 
 \ /
  Last update: 2022-06-23 11:03    [W:0.027 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site