From: kbuild test robot <lkp@intel.com>
To: Dan Murphy <dmurphy@ti.com>
Cc: kbuild-all@01.org, jacek.anaszewski@gmail.com, pavel@ucw.cz,
linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
Dan Murphy <dmurphy@ti.com>
Subject: Re: [PATCH v7 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver
Date: Sat, 21 Sep 2019 23:47:31 +0800 [thread overview]
Message-ID: <20190921154731.GP13091@xsang-OptiPlex-9020> (raw)
In-Reply-To: <20190919183657.1339-9-dmurphy@ti.com>
[-- Attachment #1: Type: text/plain, Size: 7331 bytes --]
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 <lkp@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 #2: .config.gz --]
[-- Type: application/gzip, Size: 69889 bytes --]
next prev parent reply other threads:[~2019-09-21 15:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-19 18:36 [PATCH v7 0/9] Multicolor Framework updates Dan Murphy
2019-09-19 18:36 ` [PATCH v7 1/9] leds: multicolor: Add sysfs interface definition Dan Murphy
2019-09-19 18:36 ` [PATCH v7 2/9] documention: leds: Add multicolor class documentation Dan Murphy
2019-09-19 18:36 ` [PATCH v7 3/9] dt: bindings: Add multicolor class dt bindings documention Dan Murphy
2019-09-19 18:36 ` [PATCH v7 4/9] dt-bindings: leds: Add multicolor ID to the color ID list Dan Murphy
2019-09-19 18:36 ` [PATCH v7 5/9] " Dan Murphy
2019-09-19 18:36 ` [PATCH v7 6/9] leds: multicolor: Introduce a multicolor class definition Dan Murphy
2019-09-19 18:36 ` [PATCH v7 7/9] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers Dan Murphy
2019-09-19 18:36 ` [PATCH v7 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver Dan Murphy
2019-09-21 15:47 ` kbuild test robot [this message]
2019-09-19 18:36 ` [PATCH v7 9/9] leds: Update the lp55xx to use the multi color framework Dan Murphy
2019-09-21 15:39 ` lkp
2019-09-21 15:45 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190921154731.GP13091@xsang-OptiPlex-9020 \
--to=lkp@intel.com \
--cc=dmurphy@ti.com \
--cc=jacek.anaszewski@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®