drivers/phy/mediatek/phy-mtk-dp.c:334:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]')
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/AngeloGioacchino-Del-Regno/dt-bindings-phy-Document-MT8195-and-MT8196-DisplayPort-PHYs/20260803-214632, commit: ace28f75ebdee148cda44a230458044917223727" :::::: BCC: [email protected] CC: [email protected] CC: [email protected] TO: AngeloGioacchino Del Regno <[email protected]> CC: 0day robot <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/AngeloGioacchino-Del-Regno/dt-bindings-phy-Document-MT8195-and-MT8196-DisplayPort-PHYs/20260803-214632 head: d33b28885557c8205bb5bc4e8a6566b3c4711e15 commit: ace28f75ebdee148cda44a230458044917223727 phy: phy-mtk-dp: Migrate register offsets to SoC specific pdata date: 20 hours ago :::::: branch date: 20 hours ago :::::: commit date: 20 hours ago config: x86_64-buildonly-randconfig-006-20260804 (https://download.01.org/0day-ci/archive/20260804/[email protected]/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/20260804/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All error/warnings (new ones prefixed by >>): >> drivers/phy/mediatek/phy-mtk-dp.c:334:18: error: incompatible pointer to integer conversion initializing 'u16' (aka 'unsigned short') with an expression of type 'const u16[4]' (aka 'const unsigned short[4]') [-Wint-conversion] 334 | .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/phy/mediatek/phy-mtk-dp.c:334:18: warning: suggest braces around initialization of subobject [-Wmissing-braces] 334 | .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | { } >> drivers/phy/mediatek/phy-mtk-dp.c:334:18: error: initializer element is not a compile-time constant 334 | .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 2 errors generated. vim +334 drivers/phy/mediatek/phy-mtk-dp.c 6a23afad443a8e0 Markus Schneider-Pargmann 2022-06-24 331 ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 332 static const struct mtk_dp_phy_pdata mt8195_dp_phy_data = { ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 333 .off_dig_glb = 0x1000, ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 @334 .off_dig_lane = (const u16[]) { 0x1100, 0x1200, 0x1300, 0x1400 }, ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 335 .regs_dig_glb = mt8195_phy_dig_glb_regs, ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 336 .regs_dig_lane = mt8195_phy_dig_lane_regs, ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 337 }; ace28f75ebdee14 AngeloGioacchino Del Regno 2026-07-07 338 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki