Re: [PATCH 6/7] interconnect: qcom: qcs404: Add regmaps and more bus descriptions

From: kernel test robot
Date: Mon Jun 10 2024 - 09:23:17 EST


Hi Adam,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.10-rc3 next-20240607]
[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#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Adam-Skladowski/dt-bindings-interconnect-Add-Qualcomm-MSM8976-DT-bindings/20240610-022416
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20240609182112.13032-7-a39.skl%40gmail.com
patch subject: [PATCH 6/7] interconnect: qcom: qcs404: Add regmaps and more bus descriptions
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20240610/202406102141.1kH3LXFy-lkp@xxxxxxxxx/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4403cdbaf01379de96f8d0d6ea4f51a085e37766)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240610/202406102141.1kH3LXFy-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406102141.1kH3LXFy-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/interconnect/qcom/qcs404.c:1070:35: error: variable has incomplete type 'const struct regmap_config'
1070 | static const struct regmap_config qcs404_bimc_regmap_config = {
| ^
drivers/interconnect/qcom/icc-rpm.h:136:15: note: forward declaration of 'struct regmap_config'
136 | const struct regmap_config *regmap_cfg;
| ^
drivers/interconnect/qcom/qcs404.c:1137:35: error: variable has incomplete type 'const struct regmap_config'
1137 | static const struct regmap_config qcs404_pcnoc_regmap_config = {
| ^
drivers/interconnect/qcom/icc-rpm.h:136:15: note: forward declaration of 'struct regmap_config'
136 | const struct regmap_config *regmap_cfg;
| ^
drivers/interconnect/qcom/qcs404.c:1178:35: error: variable has incomplete type 'const struct regmap_config'
1178 | static const struct regmap_config qcs404_snoc_regmap_config = {
| ^
drivers/interconnect/qcom/icc-rpm.h:136:15: note: forward declaration of 'struct regmap_config'
136 | const struct regmap_config *regmap_cfg;
| ^
3 errors generated.


vim +1070 drivers/interconnect/qcom/qcs404.c

1069
> 1070 static const struct regmap_config qcs404_bimc_regmap_config = {
1071 .reg_bits = 32,
1072 .reg_stride = 4,
1073 .val_bits = 32,
1074 .max_register = 0x80000,
1075 .fast_io = true,
1076 };
1077

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki