Re: [PATCH] regulator: rk808: Convert to use regulator_set_ramp_delay_regmap

From: kernel test robot
Date: Tue May 25 2021 - 09:55:46 EST


Hi Axel,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on regulator/for-next]
[also build test WARNING on v5.13-rc3 next-20210525]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Axel-Lin/regulator-rk808-Convert-to-use-regulator_set_ramp_delay_regmap/20210525-183912
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
config: x86_64-randconfig-r002-20210525 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/7455e23c1f5517ad398e81f902db347870905668
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Axel-Lin/regulator-rk808-Convert-to-use-regulator_set_ramp_delay_regmap/20210525-183912
git checkout 7455e23c1f5517ad398e81f902db347870905668
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/regulator/rk808-regulator.c:161:18: warning: unused variable 'rk808_buck_config_regs' [-Wunused-const-variable]
static const int rk808_buck_config_regs[] = {
^
1 warning generated.


vim +/rk808_buck_config_regs +161 drivers/regulator/rk808-regulator.c

bad47ad2eef341 Chris Zhong 2015-07-20 160
8af252272a0d63 Doug Anderson 2014-09-16 @161 static const int rk808_buck_config_regs[] = {
8af252272a0d63 Doug Anderson 2014-09-16 162 RK808_BUCK1_CONFIG_REG,
8af252272a0d63 Doug Anderson 2014-09-16 163 RK808_BUCK2_CONFIG_REG,
8af252272a0d63 Doug Anderson 2014-09-16 164 RK808_BUCK3_CONFIG_REG,
8af252272a0d63 Doug Anderson 2014-09-16 165 RK808_BUCK4_CONFIG_REG,
8af252272a0d63 Doug Anderson 2014-09-16 166 };
8af252272a0d63 Doug Anderson 2014-09-16 167

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip