tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2934ceb4e967b9233d0f97732e47175574a11406 commit: 614ab59dbff10d36cda2f6e6b2fbb17d2cfe0f86 [7203/12258] mfd: tps65219: Add driver for TI TPS65219 PMIC config: arm64-randconfig-r016-20221128 compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=614ab59dbff10d36cda2f6e6b2fbb17d2cfe0f86 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 614ab59dbff10d36cda2f6e6b2fbb17d2cfe0f86 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash ./ drivers/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/regulator/tps65219-regulator.c:310:32: warning: parameter 'dev' set but not used [-Wunused-but-set-parameter] struct regulator_dev *dev) ^ 1 warning generated. vim +/dev +310 drivers/regulator/tps65219-regulator.c c12ac5fc3e0af2 Jerome Neanne 2022-08-05 307 c12ac5fc3e0af2 Jerome Neanne 2022-08-05 308 static int tps65219_get_rdev_by_name(const char *regulator_name, c12ac5fc3e0af2 Jerome Neanne 2022-08-05 309 struct regulator_dev *rdevtbl[7], c12ac5fc3e0af2 Jerome Neanne 2022-08-05 @310 struct regulator_dev *dev) c12ac5fc3e0af2 Jerome Neanne 2022-08-05 311 { c12ac5fc3e0af2 Jerome Neanne 2022-08-05 312 int i; c12ac5fc3e0af2 Jerome Neanne 2022-08-05 313 c12ac5fc3e0af2 Jerome Neanne 2022-08-05 314 for (i = 0; i < ARRAY_SIZE(regulators); i++) { c12ac5fc3e0af2 Jerome Neanne 2022-08-05 315 if (strcmp(regulator_name, regulators[i].name) == 0) { c12ac5fc3e0af2 Jerome Neanne 2022-08-05 316 dev = rdevtbl[i]; c12ac5fc3e0af2 Jerome Neanne 2022-08-05 317 return 0; c12ac5fc3e0af2 Jerome Neanne 2022-08-05 318 } c12ac5fc3e0af2 Jerome Neanne 2022-08-05 319 } c12ac5fc3e0af2 Jerome Neanne 2022-08-05 320 return -EINVAL; c12ac5fc3e0af2 Jerome Neanne 2022-08-05 321 } c12ac5fc3e0af2 Jerome Neanne 2022-08-05 322 :::::: The code at line 310 was first introduced by commit :::::: c12ac5fc3e0af29851785e557e243663b4fc7f4b regulator: drivers: Add TI TPS65219 PMIC regulators support :::::: TO: Jerome Neanne :::::: CC: Mark Brown -- 0-DAY CI Kernel Test Service https://01.org/lkp