Re: [PATCH v4 4/7] phy: qualcomm: eusb2-repeater: Migrate to devm_spmi_subdevice_alloc_and_add()
From: kernel test robot <hidden>
Date: 2025-09-17 09:31:24
Also in:
linux-arm-msm, linux-iio, linux-pm, lkml, oe-kbuild-all
Hi AngeloGioacchino, kernel test robot noticed the following build errors: [auto build test ERROR on next-20250915] [cannot apply to jic23-iio/togreg char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus sre-power-supply/for-next linus/master v6.17-rc6 v6.17-rc5 v6.17-rc4 v6.17-rc6] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/AngeloGioacchino-Del-Regno/spmi-Implement-spmi_subdevice_alloc_and_add-and-devm-variant/20250916-164807 base: next-20250915 patch link: https://lore.kernel.org/r/20250916084445.96621-5-angelogioacchino.delregno%40collabora.com patch subject: [PATCH v4 4/7] phy: qualcomm: eusb2-repeater: Migrate to devm_spmi_subdevice_alloc_and_add() config: i386-buildonly-randconfig-001-20250917 (https://download.01.org/0day-ci/archive/20250917/202509171640.JfR2hhcz-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250917/202509171640.JfR2hhcz-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202509171640.JfR2hhcz-lkp@intel.com/ (local) All errors (new ones prefixed by >>): ld: drivers/phy/qualcomm/phy-qcom-eusb2-repeater.o: in function `eusb2_repeater_probe': phy-qcom-eusb2-repeater.c:(.text+0x315): undefined reference to `devm_spmi_subdevice_alloc_and_add' ld: drivers/base/regmap/regmap-spmi.o: in function `regmap_spmi_base_read':
quoted
regmap-spmi.c:(.text+0x79): undefined reference to `spmi_register_read'
ld: drivers/base/regmap/regmap-spmi.o: in function `regmap_spmi_base_gather_write':
quoted
regmap-spmi.c:(.text+0xbe): undefined reference to `spmi_register_zero_write' ld: regmap-spmi.c:(.text+0xe5): undefined reference to `spmi_register_write'
ld: drivers/base/regmap/regmap-spmi.o: in function `regmap_spmi_ext_read':
quoted
regmap-spmi.c:(.text+0x1a0): undefined reference to `spmi_ext_register_read' ld: regmap-spmi.c:(.text+0x1c7): undefined reference to `spmi_ext_register_readl'
ld: drivers/base/regmap/regmap-spmi.o: in function `regmap_spmi_ext_gather_write':
quoted
regmap-spmi.c:(.text+0x228): undefined reference to `spmi_ext_register_write' ld: regmap-spmi.c:(.text+0x24f): undefined reference to `spmi_ext_register_writel'
Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for REGMAP_SPMI Depends on [m]: SPMI [=m] Selected by [y]: - PHY_QCOM_EUSB2_REPEATER [=y] && OF [=y] && (ARCH_QCOM || COMPILE_TEST [=y]) Selected by [m]: - HI6421V600_IRQ [=m] && OF [=y] && SPMI [=m] && HAS_IOMEM [=y] - PINCTRL_QCOM_SPMI_PMIC [=m] && PINCTRL [=y] && (ARCH_QCOM || COMPILE_TEST [=y]) && OF [=y] && SPMI [=m] - QCOM_SPMI_TEMP_ALARM [=m] && THERMAL [=y] && (ARCH_QCOM && OF [=y] || COMPILE_TEST [=y]) && OF [=y] && SPMI [=m] && IIO [=y] - MFD_HI6421_SPMI [=m] && HAS_IOMEM [=y] && OF [=y] && SPMI [=m] - REGULATOR_MT6315 [=m] && REGULATOR [=y] && SPMI [=m] - QCOM_SPMI_ADC5 [=m] && IIO [=y] && SPMI [=m] - NVMEM_APPLE_SPMI [=m] && NVMEM [=y] && (ARCH_APPLE || COMPILE_TEST [=y]) && SPMI [=m] -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy