From: Crestez Dan Leonard <leonard.crestez@intel.com>
To: linux-iio@vger.kernel.org
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Daniel Baluta <daniel.baluta@intel.com>,
linux-i2c@vger.kernel.org, Wolfram Sang <wsa@the-dreams.de>,
Peter Rosin <peda@axentia.se>,
Jonathan Cameron <jic23@kernel.org>
Subject: Re: [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master
Date: Thu, 21 Apr 2016 13:02:38 +0300 [thread overview]
Message-ID: <5718A53E.90101@intel.com> (raw)
In-Reply-To: <201604210259.xtIWnZqM%fengguang.wu@intel.com>
On 04/20/2016 09:17 PM, kbuild test robot wrote:
> Hi,
>
> [auto build test ERROR on iio/togreg]
> [also build test ERROR on v4.6-rc4 next-20160420]
> [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/Crestez-Dan-Leonard/iio-inv_mpu6050-Add-support-for-auxiliary-I2C-master/20160421-012042
> base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
> config: i386-randconfig-i1-201616 (attached as .config)
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_core_probe':
>>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:966:11: error: implicit declaration of function 'i2c_add_adapter' [-Werror=implicit-function-declaration]
> result = i2c_add_adapter(&st->aux_master_adapter);
> ^
>>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:983:2: error: implicit declaration of function 'i2c_del_adapter' [-Werror=implicit-function-declaration]
> i2c_del_adapter(&st->aux_master_adapter);
> ^
> cc1: some warnings being treated as errors
This error happens if you disable CONFIG_I2C and only compile with SPI
support. I will add a bunch of #ifdef CONFIG_I2C in the next version.
next prev parent reply other threads:[~2016-04-21 10:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 17:17 [PATCH] iio: inv_mpu6050: Add support for auxiliary I2C master Crestez Dan Leonard
2016-04-20 18:17 ` kbuild test robot
2016-04-21 10:02 ` Crestez Dan Leonard [this message]
2016-04-23 21:32 ` Jonathan Cameron
2016-04-27 8:39 ` Peter Rosin
2016-04-28 10:39 ` Crestez Dan Leonard
2016-04-29 9:29 ` Peter Rosin
2016-04-29 10:09 ` Peter Rosin
-- strict thread matches above, loose matches on Subject: below --
2016-04-20 20:31 Peter Rosin
2016-04-21 12:01 ` Crestez Dan Leonard
2016-04-21 13:56 Peter Rosin
2016-04-22 10:15 ` Crestez Dan Leonard
2016-04-22 11:01 Peter Rosin
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=5718A53E.90101@intel.com \
--to=leonard.crestez@intel.com \
--cc=daniel.baluta@intel.com \
--cc=jic23@kernel.org \
--cc=kbuild-all@01.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
--cc=pmeerw@pmeerw.net \
--cc=wsa@the-dreams.de \
/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;
as well as URLs for NNTP newsgroup(s).