Re: [PATCH 4/7] pinctrl: bcm281xx: Provide pinctrl device info as OF platform data
From: kernel test robot
Date: Sun Feb 09 2025 - 00:37:15 EST
Hi Artur,
kernel test robot noticed the following build errors:
[auto build test ERROR on ffd294d346d185b70e28b1a28abe367bbfe53c04]
url: https://github.com/intel-lab-lkp/linux/commits/Artur-Weber/dt-bindings-pinctrl-Add-bindings-for-BCM21664-pin-controller/20250208-040646
base: ffd294d346d185b70e28b1a28abe367bbfe53c04
patch link: https://lore.kernel.org/r/20250207-bcm21664-pinctrl-v1-4-e7cfac9b2d3b%40gmail.com
patch subject: [PATCH 4/7] pinctrl: bcm281xx: Provide pinctrl device info as OF platform data
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20250209/202502091354.vwFJOxGn-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250209/202502091354.vwFJOxGn-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/202502091354.vwFJOxGn-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> drivers/pinctrl/bcm/pinctrl-bcm281xx.c:971:19: error: initializer element is not a compile-time constant
.regmap_config = bcm281xx_pinctrl_regmap_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/pinctrl/bcm/pinctrl-bcm281xx.c:1424:6: warning: unused variable 'rc' [-Wunused-variable]
int rc;
^
1 warning and 1 error generated.
vim +971 drivers/pinctrl/bcm/pinctrl-bcm281xx.c
962
963 static const struct bcm281xx_pinctrl_info bcm281xx_pinctrl = {
964 .device_type = BCM281XX_PINCTRL_TYPE,
965
966 .pins = bcm281xx_pinctrl_pins,
967 .npins = ARRAY_SIZE(bcm281xx_pinctrl_pins),
968 .functions = bcm281xx_functions,
969 .nfunctions = ARRAY_SIZE(bcm281xx_functions),
970
> 971 .regmap_config = bcm281xx_pinctrl_regmap_config,
972 };
973
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki