[linusw-pinctrl:for-next 4/4] drivers/pinctrl/bcm/pinctrl-bcm281xx.c:1576:35: error: redefinition of 'bcm281xx_pinctrl_regmap_config'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git for-next
head:   a40b63c773c236026b956cbf6f16cf688c9ed21e
commit: a40b63c773c236026b956cbf6f16cf688c9ed21e [4/4] Merge branch 'devel' into for-next
config: arm-randconfig-002-20250314 (https://download.01.org/0day-ci/archive/20250314/202503140136.vO23XO0f-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250314/202503140136.vO23XO0f-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/202503140136.vO23XO0f-lkp@xxxxxxxxx/

All error/warnings (new ones prefixed by >>):

>> drivers/pinctrl/bcm/pinctrl-bcm281xx.c:1576:35: error: redefinition of 'bcm281xx_pinctrl_regmap_config'
    1576 | static const struct regmap_config bcm281xx_pinctrl_regmap_config = {
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/bcm/pinctrl-bcm281xx.c:963:35: note: previous definition of 'bcm281xx_pinctrl_regmap_config' with type 'const struct regmap_config'
     963 | static const struct regmap_config bcm281xx_pinctrl_regmap_config = {
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/bcm/pinctrl-bcm281xx.c:1576:35: warning: 'bcm281xx_pinctrl_regmap_config' defined but not used [-Wunused-const-variable=]
    1576 | static const struct regmap_config bcm281xx_pinctrl_regmap_config = {
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/bcm281xx_pinctrl_regmap_config +1576 drivers/pinctrl/bcm/pinctrl-bcm281xx.c

7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1575  
63b5aed37b769d6 drivers/pinctrl/pinctrl-bcm281xx.c     Krzysztof Kozlowski 2015-01-05 @1576  static const struct regmap_config bcm281xx_pinctrl_regmap_config = {
7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1577  	.reg_bits = 32,
7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1578  	.reg_stride = 4,
7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1579  	.val_bits = 32,
68283c1cb573143 drivers/pinctrl/bcm/pinctrl-bcm281xx.c Artur Weber         2025-02-07  1580  	.max_register = BCM281XX_PIN_VC_CAM3_SDA * 4,
7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1581  };
7418b5cc81185e4 drivers/pinctrl/pinctrl-bcm281xx.c     Sherman Yin         2014-04-02  1582  

:::::: The code at line 1576 was first introduced by commit
:::::: 63b5aed37b769d6b9f5b322e1e29f31c18da5d17 pinctrl: bcm281xx: Constify struct regmap_config

:::::: TO: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
:::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx>

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




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux