Content-Type: multipart/mixed; boundary="===============3175462166805866974==" MIME-Version: 1.0 From: Andrew Morton To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 3093/3958] drivers/acpi/numa/hmat.c:658: undefined reference to `hmem_register_device' Date: Mon, 31 Aug 2020 12:38:02 -0700 Message-ID: <20200831123802.e23a24b03ef54bfd5091ecff@linux-foundation.org> In-Reply-To: <202008311538.99SbVGFx%lkp@intel.com> List-Id: --===============3175462166805866974== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable (cc Vishal & Joao) On Mon, 31 Aug 2020 15:11:42 +0800 kernel test robot wrot= e: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it master > head: b36c969764ab12faebb74711c942fa3e6eaf1e96 > commit: f7782cc946fea99b8a4a0a83b6c3775a6beff8ce [3093/3958] ACPI: HMAT: = refactor hmat_register_target_device to hmem_register_device > config: arm64-randconfig-r016-20200831 (attached as .config) > compiler: aarch64-linux-gcc (GCC) 9.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout f7782cc946fea99b8a4a0a83b6c3775a6beff8ce > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Darm64 = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > aarch64-linux-ld: drivers/acpi/numa/hmat.o: in function `hmat_register= _target_devices': > >> drivers/acpi/numa/hmat.c:658: undefined reference to `hmem_register_de= vice' > = > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/com= mit/?id=3Df7782cc946fea99b8a4a0a83b6c3775a6beff8ce > git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git= /next/linux-next.git > git fetch --no-tags linux-next master > git checkout f7782cc946fea99b8a4a0a83b6c3775a6beff8ce > vim +658 drivers/acpi/numa/hmat.c > = > 643 = > 644 static void hmat_register_target_devices(struct memory_target *tar= get) > 645 { > 646 struct resource *res; > 647 = > 648 /* > 649 * Do not bother creating devices if no driver is available to > 650 * consume them. > 651 */ > 652 if (!IS_ENABLED(CONFIG_DEV_DAX_HMEM)) > 653 return; > 654 = > 655 for (res =3D target->memregions.child; res; res =3D res->sibling)= { > 656 int target_nid =3D acpi_map_pxm_to_node(target->memory_pxm); > 657 = > > 658 hmem_register_device(target_nid, res); > 659 } > 660 } > 661 = > = > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3175462166805866974==--