[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <84c4b254-0bfd-b72f-c3c1-69afa45a0874@infradead.org>
Date: Wed, 5 Jul 2023 18:17:53 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: kernel test robot <lkp@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Arnd Bergmann <arnd@...db.de>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Dave Jiang <dave.jiang@...el.com>
Subject: Re: ld.lld: error: undefined symbol: firmware_upload_register
On 7/5/23 16:43, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 73a3fcdaa73200e38e38f7e8a32c9b901c5b95b5
> commit: 9521875bbe0055805557fff0b08fd9a29d02b7bc cxl: add a firmware update mechanism using the sysfs firmware loader
> date: 10 days ago
> config: x86_64-randconfig-x016-20230706 (https://download.01.org/0day-ci/archive/20230706/202307060742.vdkvv1Z3-lkp@intel.com/config)
> compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
> reproduce: (https://download.01.org/0day-ci/archive/20230706/202307060742.vdkvv1Z3-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202307060742.vdkvv1Z3-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> ld.lld: error: undefined symbol: firmware_upload_register
> >>> referenced by memdev.c:836 (drivers/cxl/core/memdev.c:836)
> >>> drivers/cxl/core/memdev.o:(cxl_memdev_setup_fw_upload) in archive vmlinux.a
> --
>>> ld.lld: error: undefined symbol: firmware_upload_unregister
> >>> referenced by memdev.c:824 (drivers/cxl/core/memdev.c:824)
> >>> drivers/cxl/core/memdev.o:(cxl_memdev_setup_fw_upload) in archive vmlinux.a
> >>> referenced by memdev.c:824 (drivers/cxl/core/memdev.c:824)
> >>> drivers/cxl/core/memdev.o:(devm_cxl_remove_fw_upload) in archive vmlinux.a
>
Fix from Arnd:
https://lore.kernel.org/all/20230703112928.332321-1-arnd@kernel.org/
--
~Randy
Powered by blists - more mailing lists