mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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 v10 06/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver
Date: Wed, 2 Oct 2019 08:16:36 +0800	[thread overview]
Message-ID: <201910020812.KxKd7h19%lkp@intel.com> (raw)
In-Reply-To: <20191001145620.11123-7-dmurphy@ti.com>

[-- Attachment #1: Type: text/plain, Size: 5340 bytes --]

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-rc1 next-20191001]
[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/20191002-062337
base:   https://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git for-next
config: mips-allmodconfig (attached as .config)
compiler: mips-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=mips 

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:358:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5012_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:358:27: note: (near initialization for 'lp50xx_chip_info_tbl[0].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:368:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5012_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:368:27: note: (near initialization for 'lp50xx_chip_info_tbl[1].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:378:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5024_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:378:27: note: (near initialization for 'lp50xx_chip_info_tbl[2].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:388:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5024_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:388:27: note: (near initialization for 'lp50xx_chip_info_tbl[3].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:398:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5036_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:398:27: note: (near initialization for 'lp50xx_chip_info_tbl[4].lp50xx_regmap_config')
   drivers/leds/leds-lp50xx.c:408:27: error: initializer element is not constant
      .lp50xx_regmap_config = lp5036_regmap_config,
                              ^~~~~~~~~~~~~~~~~~~~
   drivers/leds/leds-lp50xx.c:408:27: note: (near initialization for 'lp50xx_chip_info_tbl[5].lp50xx_regmap_config')

vim +358 drivers/leds/leds-lp50xx.c

   348	
   349	static const struct lp50xx_chip_info lp50xx_chip_info_tbl[] = {
   350		[LP5009] = {
   351			.model_id = LP5009,
   352			.num_leds = LP5009_MAX_LEDS,
   353			.led_brightness0_reg = LP5012_LED0_BRT,
   354			.mix_out0_reg = LP5012_OUT0_CLR,
   355			.bank_brt_reg = LP5012_BNK_BRT,
   356			.bank_mix_reg = LP5012_BNKA_CLR,
   357			.reset_reg = LP5012_RESET,
 > 358			.lp50xx_regmap_config = lp5012_regmap_config,
   359		},
   360		[LP5012] = {
   361			.model_id = LP5012,
   362			.num_leds = LP5012_MAX_LEDS,
   363			.led_brightness0_reg = LP5012_LED0_BRT,
   364			.mix_out0_reg = LP5012_OUT0_CLR,
   365			.bank_brt_reg = LP5012_BNK_BRT,
   366			.bank_mix_reg = LP5012_BNKA_CLR,
   367			.reset_reg = LP5012_RESET,
   368			.lp50xx_regmap_config = lp5012_regmap_config,
   369		},
   370		[LP5018] = {
   371			.model_id = LP5018,
   372			.num_leds = LP5018_MAX_LEDS,
   373			.led_brightness0_reg = LP5024_LED0_BRT,
   374			.mix_out0_reg = LP5024_OUT0_CLR,
   375			.bank_brt_reg = LP5024_BNK_BRT,
   376			.bank_mix_reg = LP5024_BNKA_CLR,
   377			.reset_reg = LP5024_RESET,
   378			.lp50xx_regmap_config = lp5024_regmap_config,
   379		},
   380		[LP5024] = {
   381			.model_id = LP5024,
   382			.num_leds = LP5024_MAX_LEDS,
   383			.led_brightness0_reg = LP5024_LED0_BRT,
   384			.mix_out0_reg = LP5024_OUT0_CLR,
   385			.bank_brt_reg = LP5024_BNK_BRT,
   386			.bank_mix_reg = LP5024_BNKA_CLR,
   387			.reset_reg = LP5024_RESET,
   388			.lp50xx_regmap_config = lp5024_regmap_config,
   389		},
   390		[LP5030] = {
   391			.model_id = LP5030,
   392			.num_leds = LP5030_MAX_LEDS,
   393			.led_brightness0_reg = LP5036_LED0_BRT,
   394			.mix_out0_reg = LP5036_OUT0_CLR,
   395			.bank_brt_reg = LP5036_BNK_BRT,
   396			.bank_mix_reg = LP5036_BNKA_CLR,
   397			.reset_reg = LP5036_RESET,
   398			.lp50xx_regmap_config = lp5036_regmap_config,
   399		},
   400		[LP5036] = {
   401			.model_id = LP5036,
   402			.num_leds = LP5036_MAX_LEDS,
   403			.led_brightness0_reg = LP5036_LED0_BRT,
   404			.mix_out0_reg = LP5036_OUT0_CLR,
   405			.bank_brt_reg = LP5036_BNK_BRT,
   406			.bank_mix_reg = LP5036_BNKA_CLR,
   407			.reset_reg = LP5036_RESET,
   408			.lp50xx_regmap_config = lp5036_regmap_config,
   409		},
   410	};
   411	

---
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: 62124 bytes --]

  reply	other threads:[~2019-10-02  0:17 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-01 14:56 [PATCH v10 00/16] Multicolor Framework Dan Murphy
2019-10-01 14:56 ` [PATCH v10 01/16] dt: bindings: Add multicolor class dt bindings documention Dan Murphy
2019-10-01 14:56 ` [PATCH v10 02/16] dt-bindings: leds: Add multicolor ID to the color ID list Dan Murphy
2019-10-01 14:56 ` [PATCH v10 03/16] " Dan Murphy
2019-10-01 14:56 ` [PATCH v10 04/16] leds: multicolor: Introduce a multicolor class definition Dan Murphy
2019-10-06 15:23   ` Jacek Anaszewski
2019-10-07 11:51     ` Dan Murphy
2019-10-01 14:56 ` [PATCH v10 05/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers Dan Murphy
2019-10-01 14:56 ` [PATCH v10 06/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver Dan Murphy
2019-10-02  0:16   ` kbuild test robot [this message]
2019-10-06 16:12   ` Jacek Anaszewski
2019-10-07 12:35     ` Dan Murphy
2019-10-01 14:56 ` [PATCH v10 07/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym Dan Murphy
2019-10-01 14:56 ` [PATCH v10 08/16] dt: bindings: lp55xx: Update binding for Multicolor Framework Dan Murphy
2019-10-01 14:56 ` [PATCH v10 09/16] ARM: dts: n900: Add reg property to the LP5523 channel node Dan Murphy
2019-10-01 14:56 ` [PATCH v10 10/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 " Dan Murphy
2019-10-01 14:56 ` [PATCH v10 11/16] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes Dan Murphy
2019-10-04 21:50   ` Linus Walleij
2019-10-01 14:56 ` [PATCH v10 12/16] leds: lp55xx: Add multicolor framework support to lp55xx Dan Murphy
2019-10-02  0:31   ` kbuild test robot
2019-10-02  1:24   ` kbuild test robot
2019-10-06 19:52   ` Jacek Anaszewski
2019-10-07 17:08     ` Dan Murphy
2019-10-07 19:27       ` Jacek Anaszewski
2019-10-01 14:56 ` [PATCH v10 13/16] leds: lp5523: Update the lp5523 code to add intensity function Dan Murphy
2019-10-01 14:56 ` [PATCH v10 14/16] leds: lp5521: Add multicolor framework intensity support Dan Murphy
2019-10-01 14:56 ` [PATCH v10 15/16] leds: lp55xx: Fix checkpatch file permissions issues Dan Murphy
2019-10-01 14:56 ` [PATCH v10 16/16] leds: lp5523: Fix checkpatch issues in the code Dan Murphy
2019-10-02 15:53 ` [PATCH v10 00/16] Multicolor Framework Dan Murphy

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=201910020812.KxKd7h19%lkp@intel.com \
    --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®