Messages in this thread | | | Date | Wed, 5 Jan 2022 14:29:18 +0800 | From | kernel test robot <> | Subject | Re: [PATCH 2/2] regulator: Add MAX20086-MAX20089 driver |
| |
Hi Laurent,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-regulator/for-next] [also build test ERROR on linux/master linus/master v5.16-rc8 next-20220104] [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/Laurent-Pinchart/regulator-Add-driver-for-Maxim-MAX20086-MAX20089/20220103-051219 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: x86_64-randconfig-r014-20220105 (https://download.01.org/0day-ci/archive/20220105/202201051456.soqOHo2E-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d5b6e30ed3acad794dd0aec400e617daffc6cc3d) 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 # https://github.com/0day-ci/linux/commit/b6d12d70aa18c4aea48971443a7467c78e719147 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Laurent-Pinchart/regulator-Add-driver-for-Maxim-MAX20086-MAX20089/20220103-051219 git checkout b6d12d70aa18c4aea48971443a7467c78e719147 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/regulator/max20086-regulator.c:99:2: error: initializer element is not a compile-time constant MAX20086_REGULATOR_DESC(0), ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/regulator/max20086-regulator.c:79:10: note: expanded from macro 'MAX20086_REGULATOR_DESC' .name = max20086_output_names[n], \ ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
vim +99 drivers/regulator/max20086-regulator.c
97 98 static const struct regulator_desc max20086_regulators[] = { > 99 MAX20086_REGULATOR_DESC(0), 100 MAX20086_REGULATOR_DESC(1), 101 MAX20086_REGULATOR_DESC(2), 102 MAX20086_REGULATOR_DESC(3), 103 }; 104
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |