From: kernel test robot <lkp@intel.com>
To: Dave Jiang <dave.jiang@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [djiang:cxl-qtg 21/29] drivers/cxl/acpi.c:550: undefined reference to `acpi_get_genport_coordinates'
Date: Sat, 6 May 2023 12:48:53 +0800 [thread overview]
Message-ID: <202305061230.R62TFkoG-lkp@intel.com> (raw)
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
reply other threads:[~2023-05-06 4:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202305061230.R62TFkoG-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.jiang@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.