From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2810575250529625234==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [freescale-fslc:pr/521 4666/9999] drivers/regulator/scmi-regulator.c:237:13: error: no member named 'of_match_full_name' in 'struct regulator_desc' Date: Thu, 13 Jan 2022 05:06:47 +0800 Message-ID: <202201130401.Z5dIs88t-lkp@intel.com> List-Id: --===============2810575250529625234== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Cristian, FYI, the error/warning still remains. tree: https://github.com/Freescale/linux-fslc pr/521 head: e1200a7e26459892adfac6cb313bd8458b21fa95 commit: 367122823dab7b07ad76fb94a06c7a3030fe57b6 [4666/9999] regulator: add= SCMI driver config: riscv-buildonly-randconfig-r005-20220112 (https://download.01.org/0= day-ci/archive/20220113/202201130401.Z5dIs88t-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2= 913a43a200f5a6544d424cdc37b771028b) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/Freescale/linux-fslc/commit/367122823dab7b07ad= 76fb94a06c7a3030fe57b6 git remote add freescale-fslc https://github.com/Freescale/linux-fs= lc git fetch --no-tags freescale-fslc pr/521 git checkout 367122823dab7b07ad76fb94a06c7a3030fe57b6 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Driscv SHELL=3D/bin/bash drivers/regulator/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/regulator/scmi-regulator.c:237:13: error: no member named 'of_ma= tch_full_name' in 'struct regulator_desc' sreg->desc.of_match_full_name =3D true; ~~~~~~~~~~ ^ 1 error generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for INPUT_POLLDEV Depends on !UML && INPUT Selected by - MXC_MMA8451 && HWMON && I2C vim +237 drivers/regulator/scmi-regulator.c 203 = 204 static int scmi_regulator_common_init(struct scmi_regulator *sreg) 205 { 206 int ret; 207 const struct scmi_handle *handle =3D sreg->sdev->handle; 208 struct device *dev =3D &sreg->sdev->dev; 209 const struct scmi_voltage_info *vinfo; 210 = 211 vinfo =3D handle->voltage_ops->info_get(handle, sreg->id); 212 if (!vinfo) { 213 dev_warn(dev, "Failure to get voltage domain %d\n", 214 sreg->id); 215 return -ENODEV; 216 } 217 = 218 /* 219 * Regulator framework does not fully support negative voltages 220 * so we discard any voltage domain reported as supporting negative 221 * voltages: as a consequence each levels_uv entry is guaranteed to 222 * be non-negative from here on. 223 */ 224 if (vinfo->negative_volts_allowed) { 225 dev_warn(dev, "Negative voltages NOT supported...skip %s\n", 226 sreg->of_node->full_name); 227 return -EOPNOTSUPP; 228 } 229 = 230 sreg->desc.name =3D devm_kasprintf(dev, GFP_KERNEL, "%s", vinfo->na= me); 231 if (!sreg->desc.name) 232 return -ENOMEM; 233 = 234 sreg->desc.id =3D sreg->id; 235 sreg->desc.type =3D REGULATOR_VOLTAGE; 236 sreg->desc.owner =3D THIS_MODULE; > 237 sreg->desc.of_match_full_name =3D true; 238 sreg->desc.of_match =3D sreg->of_node->full_name; 239 sreg->desc.regulators_node =3D "regulators"; 240 if (vinfo->segmented) 241 ret =3D scmi_config_linear_regulator_mappings(sreg, vinfo); 242 else 243 ret =3D scmi_config_discrete_regulator_mappings(sreg, vinfo); 244 if (ret) 245 return ret; 246 = 247 /* 248 * Using the scmi device here to have DT searched from Voltage 249 * protocol node down. 250 */ 251 sreg->conf.dev =3D dev; 252 = 253 /* Store for later retrieval via rdev_get_drvdata() */ 254 sreg->conf.driver_data =3D sreg; 255 = 256 return 0; 257 } 258 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2810575250529625234==--