* [linux-next:master 9961/10967] drivers/regulator/rtq2208-regulator.c:223:35: warning: unused variable 'rtq2208_regulator_ldo_ops'
@ 2024-05-03 10:19 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-03 10:19 UTC (permalink / raw)
To: Alina Yu; +Cc: llvm, oe-kbuild-all, Linux Memory Management List, Mark Brown
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 9221b2819b8a4196eecf5476d66201be60fbcf29
commit: 38bcec0e7cbbd6566c12ae4f2b7a48bd50cd215c [9961/10967] regulator: rtq2208: Fix LDO discharge register and add vsel setting
config: i386-buildonly-randconfig-001-20240503 (https://download.01.org/0day-ci/archive/20240503/202405031834.7qPvHF00-lkp@intel.com/config)
compiler: clang version 18.1.4 (https://github.com/llvm/llvm-project e6c3289804a67ea0bb6a86fadbe454dd93b8d855)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405031834.7qPvHF00-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/202405031834.7qPvHF00-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/regulator/rtq2208-regulator.c:223:35: warning: unused variable 'rtq2208_regulator_ldo_ops' [-Wunused-const-variable]
223 | static const struct regulator_ops rtq2208_regulator_ldo_ops = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +/rtq2208_regulator_ldo_ops +223 drivers/regulator/rtq2208-regulator.c
85a11f55621a0c Alina Yu 2023-08-07 222
85a11f55621a0c Alina Yu 2023-08-07 @223 static const struct regulator_ops rtq2208_regulator_ldo_ops = {
85a11f55621a0c Alina Yu 2023-08-07 224 .enable = regulator_enable_regmap,
85a11f55621a0c Alina Yu 2023-08-07 225 .disable = regulator_disable_regmap,
85a11f55621a0c Alina Yu 2023-08-07 226 .is_enabled = regulator_is_enabled_regmap,
85a11f55621a0c Alina Yu 2023-08-07 227 .set_active_discharge = regulator_set_active_discharge_regmap,
85a11f55621a0c Alina Yu 2023-08-07 228 .set_suspend_enable = rtq2208_set_suspend_enable,
85a11f55621a0c Alina Yu 2023-08-07 229 .set_suspend_disable = rtq2208_set_suspend_disable,
85a11f55621a0c Alina Yu 2023-08-07 230 };
85a11f55621a0c Alina Yu 2023-08-07 231
:::::: The code at line 223 was first introduced by commit
:::::: 85a11f55621a0c18b22b43ab4219450ac1d19386 regulator: rtq2208: Add Richtek RTQ2208 SubPMIC driver
:::::: TO: Alina Yu <alina_yu@richtek.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
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:[~2024-05-03 10:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-03 10:19 [linux-next:master 9961/10967] drivers/regulator/rtq2208-regulator.c:223:35: warning: unused variable 'rtq2208_regulator_ldo_ops' 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