Hi Dan,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3 next-20190919]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    
https://github.com/0day-ci/linux/commits/Dan-Murphy/Multicolor-Framework-updates/20190920-023813
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

>> drivers/leds/leds-lp50xx.c:383:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5012_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:383:27: note: (near initialization for 
'lp50xx_chip_info_tbl[0].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:392:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5012_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:392:27: note: (near initialization for 
'lp50xx_chip_info_tbl[1].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:401:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5024_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:401:27: note: (near initialization for 
'lp50xx_chip_info_tbl[2].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:410:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5024_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:410:27: note: (near initialization for 
'lp50xx_chip_info_tbl[3].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:419:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5036_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:419:27: note: (near initialization for 
'lp50xx_chip_info_tbl[4].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:428:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5036_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:428:27: note: (near initialization for 
'lp50xx_chip_info_tbl[5].lp50xx_regmap_config')

# 
https://github.com/0day-ci/linux/commit/20af6fb696d0e121b6d3cdcb1aabece15fd070ec
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 20af6fb696d0e121b6d3cdcb1aabece15fd070ec
vim +383 drivers/leds/leds-lp50xx.c

20af6fb696d0e1 Dan Murphy 2019-09-19  374  
20af6fb696d0e1 Dan Murphy 2019-09-19  375  static const struct lp50xx_chip_info 
lp50xx_chip_info_tbl[] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  376       [LP5009] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  377               .num_leds = 
LP5009_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  378               .led_brightness0_reg = 
LP5012_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  379               .mix_out0_reg = 
LP5012_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  380               .bank_brt_reg = 
LP5012_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  381               .bank_mix_reg = 
LP5012_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  382               .reset_reg = 
LP5012_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19 @383               .lp50xx_regmap_config = 
lp5012_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  384       },
20af6fb696d0e1 Dan Murphy 2019-09-19  385       [LP5012] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  386               .num_leds = 
LP5012_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  387               .led_brightness0_reg = 
LP5012_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  388               .mix_out0_reg = 
LP5012_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  389               .bank_brt_reg = 
LP5012_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  390               .bank_mix_reg = 
LP5012_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  391               .reset_reg = 
LP5012_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19  392               .lp50xx_regmap_config = 
lp5012_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  393       },
20af6fb696d0e1 Dan Murphy 2019-09-19  394       [LP5018] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  395               .num_leds = 
LP5018_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  396               .led_brightness0_reg = 
LP5024_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  397               .mix_out0_reg = 
LP5024_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  398               .bank_brt_reg = 
LP5024_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  399               .bank_mix_reg = 
LP5024_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  400               .reset_reg = 
LP5024_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19  401               .lp50xx_regmap_config = 
lp5024_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  402       },
20af6fb696d0e1 Dan Murphy 2019-09-19  403       [LP5024] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  404               .num_leds = 
LP5024_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  405               .led_brightness0_reg = 
LP5024_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  406               .mix_out0_reg = 
LP5024_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  407               .bank_brt_reg = 
LP5024_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  408               .bank_mix_reg = 
LP5024_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  409               .reset_reg = 
LP5024_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19  410               .lp50xx_regmap_config = 
lp5024_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  411       },
20af6fb696d0e1 Dan Murphy 2019-09-19  412       [LP5030] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  413               .num_leds = 
LP5030_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  414               .led_brightness0_reg = 
LP5036_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  415               .mix_out0_reg = 
LP5036_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  416               .bank_brt_reg = 
LP5036_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  417               .bank_mix_reg = 
LP5036_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  418               .reset_reg = 
LP5036_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19  419               .lp50xx_regmap_config = 
lp5036_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  420       },
20af6fb696d0e1 Dan Murphy 2019-09-19  421       [LP5036] = {
20af6fb696d0e1 Dan Murphy 2019-09-19  422               .num_leds = 
LP5036_MAX_LED_MODULES,
20af6fb696d0e1 Dan Murphy 2019-09-19  423               .led_brightness0_reg = 
LP5036_LED0_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  424               .mix_out0_reg = 
LP5036_OUT0_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  425               .bank_brt_reg = 
LP5036_BNK_BRT,
20af6fb696d0e1 Dan Murphy 2019-09-19  426               .bank_mix_reg = 
LP5036_BNKA_CLR,
20af6fb696d0e1 Dan Murphy 2019-09-19  427               .reset_reg = 
LP5036_RESET,
20af6fb696d0e1 Dan Murphy 2019-09-19  428               .lp50xx_regmap_config = 
lp5036_regmap_config,
20af6fb696d0e1 Dan Murphy 2019-09-19  429       },
20af6fb696d0e1 Dan Murphy 2019-09-19  430  };
20af6fb696d0e1 Dan Murphy 2019-09-19  431  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: .config.gz

Reply via email to