* [linux-next:master 8072/9729] drivers/i2c/busses/i2c-i801.c:1180:49: error: no member named 'mux_pdev' in 'struct i801_priv'
@ 2025-05-09 9:32 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-09 9:32 UTC (permalink / raw)
To: Yo-Jung (Leo) Lin; +Cc: llvm, oe-kbuild-all, Andi Shyti, Guenter Roeck
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f48887a98b78880b7711aca311fbbbcaad6c4e3b
commit: 27f4a0d6938a5cd3c30701f12c7454048800dbba [8072/9729] i2c: i801: don't instantiate spd5118 under SPD Write Disable
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250509/202505091734.6Y3SNpzo-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505091734.6Y3SNpzo-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/202505091734.6Y3SNpzo-lkp@intel.com/
Note: the linux-next/master HEAD f48887a98b78880b7711aca311fbbbcaad6c4e3b builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
>> drivers/i2c/busses/i2c-i801.c:1180:49: error: no member named 'mux_pdev' in 'struct i801_priv'
1180 | if (!IS_ENABLED(CONFIG_I2C_I801_MUX) || !priv->mux_pdev) {
| ~~~~ ^
1 error generated.
vim +1180 drivers/i2c/busses/i2c-i801.c
1159
1160 /* Register optional targets */
1161 static void i801_probe_optional_targets(struct i801_priv *priv)
1162 {
1163 /* Only register targets on main SMBus channel */
1164 if (priv->features & FEATURE_IDF)
1165 return;
1166
1167 if (apanel_addr) {
1168 struct i2c_board_info info = {
1169 .addr = apanel_addr,
1170 .type = "fujitsu_apanel",
1171 };
1172
1173 i2c_new_client_device(&priv->adapter, &info);
1174 }
1175
1176 if (dmi_name_in_vendors("FUJITSU"))
1177 dmi_walk(dmi_check_onboard_devices, &priv->adapter);
1178
1179 /* Instantiate SPD EEPROMs unless the SMBus is multiplexed */
> 1180 if (!IS_ENABLED(CONFIG_I2C_I801_MUX) || !priv->mux_pdev) {
1181 if (priv->original_hstcfg & SMBHSTCFG_SPD_WD)
1182 i2c_register_spd_write_disable(&priv->adapter);
1183 else
1184 i2c_register_spd_write_enable(&priv->adapter);
1185 }
1186 }
1187 #else
1188 static void __init input_apanel_init(void) {}
1189 static void i801_probe_optional_targets(struct i801_priv *priv) {}
1190 #endif /* CONFIG_X86 && CONFIG_DMI */
1191
--
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:[~2025-05-09 9:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 9:32 [linux-next:master 8072/9729] drivers/i2c/busses/i2c-i801.c:1180:49: error: no member named 'mux_pdev' in 'struct i801_priv' 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