* [djiang:cxl-qtg 21/29] drivers/cxl/acpi.c:550: undefined reference to `acpi_get_genport_coordinates'
@ 2023-05-06 4:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-06 4:48 UTC (permalink / raw)
To: Dave Jiang; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git cxl-qtg
head: 2bbfbdea968bdd6f52121799c47cb01be6b4abfb
commit: c659c0445d1d129865f9120264828823cbeebb84 [21/29] cxl: Store the access coordinates for the generic ports
config: arm64-randconfig-r003-20230501 (https://download.01.org/0day-ci/archive/20230506/202305061230.R62TFkoG-lkp@intel.com/config)
compiler: aarch64-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/djiang/linux.git/commit/?id=c659c0445d1d129865f9120264828823cbeebb84
git remote add djiang https://git.kernel.org/pub/scm/linux/kernel/git/djiang/linux.git
git fetch --no-tags djiang cxl-qtg
git checkout c659c0445d1d129865f9120264828823cbeebb84
# 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=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305061230.R62TFkoG-lkp@intel.com/
All errors (new ones prefixed by >>):
aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/cxl/acpi.o: in function `get_genport_coordinates':
>> drivers/cxl/acpi.c:550: undefined reference to `acpi_get_genport_coordinates'
vim +550 drivers/cxl/acpi.c
539
540 static int get_genport_coordinates(struct device *dev, struct cxl_dport *dport)
541 {
542 struct acpi_device *hb = to_cxl_host_bridge(NULL, dev);
543 u8 handle[ACPI_SRAT_DEVICE_HANDLE_SIZE] = { 0 };
544 int rc;
545
546 /* ACPI spec 6.5 tABLE 5.65 */
547 memcpy(handle, acpi_device_hid(hb), 8);
548 memcpy(&handle[8], acpi_device_uid(hb), 4);
549
> 550 rc = acpi_get_genport_coordinates(handle, dport->genport_coord);
551 if (rc)
552 return rc;
553
554 return 0;
555 }
556
--
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-05-06 4:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-06 4:48 [djiang:cxl-qtg 21/29] drivers/cxl/acpi.c:550: undefined reference to `acpi_get_genport_coordinates' 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;
as well as URLs for NNTP newsgroup(s).