From: kernel test robot <lkp@intel.com>
To: "Yo-Jung (Leo) Lin" <leo.lin@canonical.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Andi Shyti <andi.shyti@kernel.org>,
Guenter Roeck <linux@roeck-us.net>
Subject: [linux-next:master 8072/9729] drivers/i2c/busses/i2c-i801.c:1180:49: error: no member named 'mux_pdev' in 'struct i801_priv'
Date: Fri, 9 May 2025 17:32:23 +0800 [thread overview]
Message-ID: <202505091734.6Y3SNpzo-lkp@intel.com> (raw)
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
reply other threads:[~2025-05-09 9:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202505091734.6Y3SNpzo-lkp@intel.com \
--to=lkp@intel.com \
--cc=andi.shyti@kernel.org \
--cc=leo.lin@canonical.com \
--cc=linux@roeck-us.net \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox