Re: [PATCH v12 06/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

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

 



Dan,

Below compilation errors are occurring also for v14.
Did you compile-test it at least?

On 10/14/19 11:17 AM, kbuild test robot wrote:
> Hi Dan,
> 
> I love your patch! Yet something to improve:
> 
> [auto build test ERROR on j.anaszewski-leds/for-next]
> [cannot apply to v5.4-rc3 next-20191011]
> [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-v12/20191014-103058
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git for-next
> config: sparc64-allmodconfig (attached as .config)
> compiler: sparc64-linux-gcc (GCC) 7.4.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=sparc64 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
>>> drivers//leds/leds-lp50xx.c:360:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5012_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:360:27: note: (near initialization for 'lp50xx_chip_info_tbl[0].lp50xx_regmap_config')
>    drivers//leds/leds-lp50xx.c:371:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5012_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:371:27: note: (near initialization for 'lp50xx_chip_info_tbl[1].lp50xx_regmap_config')
>    drivers//leds/leds-lp50xx.c:382:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5024_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:382:27: note: (near initialization for 'lp50xx_chip_info_tbl[2].lp50xx_regmap_config')
>    drivers//leds/leds-lp50xx.c:393:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5024_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:393:27: note: (near initialization for 'lp50xx_chip_info_tbl[3].lp50xx_regmap_config')
>    drivers//leds/leds-lp50xx.c:404:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5036_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:404:27: note: (near initialization for 'lp50xx_chip_info_tbl[4].lp50xx_regmap_config')
>    drivers//leds/leds-lp50xx.c:415:27: error: initializer element is not constant
>       .lp50xx_regmap_config = lp5036_regmap_config,
>                               ^~~~~~~~~~~~~~~~~~~~
>    drivers//leds/leds-lp50xx.c:415:27: note: (near initialization for 'lp50xx_chip_info_tbl[5].lp50xx_regmap_config')
> 

-- 
Best regards,
Jacek Anaszewski



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux