* Re: [PATCH v5 6/6] phy: qcom: snps-femto-v2: Add IPQ9650 support
[not found] <20261006-phy-v5-6-cbe9330a6449@oss.qualcomm.com>
@ 2026-10-07 11:00 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-07 11:00 UTC (permalink / raw)
To: Varadarajan Narayanan, Vinod Koul, Neil Armstrong,
Manivannan Sadhasivam, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Wesley Cheng, Manu Gautam, Stephen Boyd,
Philipp Zabel
Cc: llvm, oe-kbuild-all, linux-arm-msm, linux-phy, devicetree,
linux-kernel, Varadarajan Narayanan
Hi Varadarajan,
kernel test robot noticed the following build errors:
[auto build test ERROR on 15551282e82db772bfc862f96a8abf14a60f4ea5]
url: https://github.com/intel-lab-lkp/linux/commits/Varadarajan-Narayanan/dt-bindings-phy-qcom-qmp-usb-Add-IPQ9650-USB3-PHY/20261006-105915
base: 15551282e82db772bfc862f96a8abf14a60f4ea5
patch link: https://lore.kernel.org/r/20261006-phy-v5-6-cbe9330a6449%40oss.qualcomm.com
patch subject: [PATCH v5 6/6] phy: qcom: snps-femto-v2: Add IPQ9650 support
config: x86_64-buildonly-randconfig-1001-20261007 (https://download.01.org/0day-ci/archive/20261007/202610071844.6m37sk3H-lkp@intel.com/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261007/202610071844.6m37sk3H-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610071844.6m37sk3H-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c:449:53: error: call to undeclared function 'FIELD_PREP_CONST'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
449 | { USB2_PHY_USB_PHY_HS_PHY_CTRL_COMMON0, FSEL_MASK, FSEL_24MHZ },
| ^
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c:39:23: note: expanded from macro 'FSEL_24MHZ'
39 | #define FSEL_24MHZ FIELD_PREP_CONST(FSEL_MASK, 2)
| ^
>> drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c:449:53: error: initializer element is not a compile-time constant
449 | { USB2_PHY_USB_PHY_HS_PHY_CTRL_COMMON0, FSEL_MASK, FSEL_24MHZ },
| ^~~~~~~~~~
drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c:39:23: note: expanded from macro 'FSEL_24MHZ'
39 | #define FSEL_24MHZ FIELD_PREP_CONST(FSEL_MASK, 2)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +/FIELD_PREP_CONST +449 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c
444
445 static const struct phy_reg_config hs_6nm_phy_pre_tuning[] = {
446 { USB2_PHY_USB_PHY_CFG0, UTMI_PHY_CMN_CTRL_OVERRIDE_EN, UTMI_PHY_CMN_CTRL_OVERRIDE_EN },
447 { USB2_PHY_USB_PHY_UTMI_CTRL5, POR, POR },
448 { USB2_PHY_USB_PHY_FSEL_SEL, FSEL_SEL, FSEL_SEL },
> 449 { USB2_PHY_USB_PHY_HS_PHY_CTRL_COMMON0, FSEL_MASK, FSEL_24MHZ },
450 { USB2_PHY_USB_PHY_HS_PHY_CTRL_COMMON1, PLLBTUNE, PLLBTUNE },
451 { USB2_PHY_USB_PHY_REFCLK_CTRL, REFCLK_SEL_MASK, REFCLK_SEL_DEFAULT },
452 { USB2_PHY_USB_PHY_HS_PHY_CTRL_COMMON1, VBUSVLDEXTSEL0, VBUSVLDEXTSEL0 },
453 { USB2_PHY_USB_PHY_HS_PHY_CTRL1, VBUSVLDEXT0, VBUSVLDEXT0 },
454 };
455
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261006-phy-v5-6-cbe9330a6449@oss.qualcomm.com>
2026-10-07 11:00 ` [PATCH v5 6/6] phy: qcom: snps-femto-v2: Add IPQ9650 support 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