mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Irina Tirdea <irina.tirdea@intel.com>
Cc: kbuild-all@01.org, Jonathan Cameron <jic23@kernel.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>,
	Markus Pargmann <mpa@pengutronix.de>,
	Irina Tirdea <irina.tirdea@intel.com>
Subject: Re: [PATCH v2 1/1] iio: accel: bmc150: use common definition for regmap conf
Date: Tue, 29 Mar 2016 01:41:23 +0800	[thread overview]
Message-ID: <201603290104.bmh7HCVr%fengguang.wu@intel.com> (raw)
In-Reply-To: <1459185754-18776-1-git-send-email-irina.tirdea@intel.com>

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

Hi Irina,

[auto build test ERROR on iio/togreg]
[also build test ERROR on v4.6-rc1 next-20160327]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Irina-Tirdea/iio-accel-bmc150-use-common-definition-for-regmap-conf/20160329-012449
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

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

   In file included from drivers/iio/accel/bmc150-accel-spi.c:23:0:
   drivers/iio/accel/bmc150-accel-spi.c: In function 'bmc150_accel_probe':
>> drivers/iio/accel/bmc150-accel-spi.c:33:38: error: 'bmc150_spi_regmap_conf' undeclared (first use in this function)
     regmap = devm_regmap_init_spi(spi, &bmc150_spi_regmap_conf);
                                         ^
   include/linux/regmap.h:436:6: note: in definition of macro '__regmap_lockdep_wrapper'
      fn(__VA_ARGS__, &_key,     \
         ^
>> drivers/iio/accel/bmc150-accel-spi.c:33:11: note: in expansion of macro 'devm_regmap_init_spi'
     regmap = devm_regmap_init_spi(spi, &bmc150_spi_regmap_conf);
              ^
   drivers/iio/accel/bmc150-accel-spi.c:33:38: note: each undeclared identifier is reported only once for each function it appears in
     regmap = devm_regmap_init_spi(spi, &bmc150_spi_regmap_conf);
                                         ^
   include/linux/regmap.h:436:6: note: in definition of macro '__regmap_lockdep_wrapper'
      fn(__VA_ARGS__, &_key,     \
         ^
>> drivers/iio/accel/bmc150-accel-spi.c:33:11: note: in expansion of macro 'devm_regmap_init_spi'
     regmap = devm_regmap_init_spi(spi, &bmc150_spi_regmap_conf);
              ^

vim +/bmc150_spi_regmap_conf +33 drivers/iio/accel/bmc150-accel-spi.c

f9ab96e2 Markus Pargmann 2015-09-21  17   */
f9ab96e2 Markus Pargmann 2015-09-21  18  
f9ab96e2 Markus Pargmann 2015-09-21  19  #include <linux/device.h>
f9ab96e2 Markus Pargmann 2015-09-21  20  #include <linux/mod_devicetable.h>
f9ab96e2 Markus Pargmann 2015-09-21  21  #include <linux/module.h>
f9ab96e2 Markus Pargmann 2015-09-21  22  #include <linux/acpi.h>
f9ab96e2 Markus Pargmann 2015-09-21 @23  #include <linux/regmap.h>
f9ab96e2 Markus Pargmann 2015-09-21  24  #include <linux/spi/spi.h>
f9ab96e2 Markus Pargmann 2015-09-21  25  
f9ab96e2 Markus Pargmann 2015-09-21  26  #include "bmc150-accel.h"
f9ab96e2 Markus Pargmann 2015-09-21  27  
f9ab96e2 Markus Pargmann 2015-09-21  28  static int bmc150_accel_probe(struct spi_device *spi)
f9ab96e2 Markus Pargmann 2015-09-21  29  {
f9ab96e2 Markus Pargmann 2015-09-21  30  	struct regmap *regmap;
f9ab96e2 Markus Pargmann 2015-09-21  31  	const struct spi_device_id *id = spi_get_device_id(spi);
f9ab96e2 Markus Pargmann 2015-09-21  32  
f9ab96e2 Markus Pargmann 2015-09-21 @33  	regmap = devm_regmap_init_spi(spi, &bmc150_spi_regmap_conf);
f9ab96e2 Markus Pargmann 2015-09-21  34  	if (IS_ERR(regmap)) {
f9ab96e2 Markus Pargmann 2015-09-21  35  		dev_err(&spi->dev, "Failed to initialize spi regmap\n");
f9ab96e2 Markus Pargmann 2015-09-21  36  		return PTR_ERR(regmap);

:::::: The code at line 33 was first introduced by commit
:::::: f9ab96e212808123fbd9072d580a59194e5cd410 iio: bmc150: Add SPI driver

:::::: TO: Markus Pargmann <mpa@pengutronix.de>
:::::: CC: Jonathan Cameron <jic23@kernel.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44140 bytes --]

      reply	other threads:[~2016-03-28 17:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28 17:22 Irina Tirdea
2016-03-28 17:41 ` kbuild test robot [this message]

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=201603290104.bmh7HCVr%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=irina.tirdea@intel.com \
    --cc=jic23@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpa@pengutronix.de \
    --cc=pmeerw@pmeerw.net \
    /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®