lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201603290104.bmh7HCVr%fengguang.wu@intel.com>
Date:	Tue, 29 Mar 2016 01:41:23 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Irina Tirdea <irina.tirdea@...el.com>
Cc:	kbuild-all@...org, Jonathan Cameron <jic23@...nel.org>,
	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
	Hartmut Knaack <knaack.h@....de>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Peter Meerwald <pmeerw@...erw.net>,
	Markus Pargmann <mpa@...gutronix.de>,
	Irina Tirdea <irina.tirdea@...el.com>
Subject: Re: [PATCH v2 1/1] iio: accel: bmc150: use common definition for
 regmap conf

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@...gutronix.de>
:::::: CC: Jonathan Cameron <jic23@...nel.org>

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

Download attachment ".config.gz" of type "application/octet-stream" (44140 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ