From: Matt Fleming <matt@codeblueprint.co.uk>
To: Jean Delvare <jdelvare@suse.de>
Cc: Jim Davis <jim.epost@gmail.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next <linux-next@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
jdelvare@suse.com, wsa@the-dreams.de, linux-i2c@vger.kernel.org,
Matt Fleming <matt.fleming@intel.com>,
Guenter Roeck <linux@roeck-us.net>
Subject: Re: randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c
Date: Fri, 25 Sep 2015 14:37:57 +0100 [thread overview]
Message-ID: <20150925133757.GA2857@codeblueprint.co.uk> (raw)
In-Reply-To: <20150925093610.64ed7f59@endymion.delvare>
On Fri, 25 Sep, at 09:36:10AM, Jean Delvare wrote:
> On Wed, 12 Aug 2015 08:42:18 -0700, Jim Davis wrote:
> > Building with the attached random configuration file,
> >
> > drivers/built-in.o: In function `dmi_check_onboard_devices':
> > i2c-i801.c:(.text+0x126b36): undefined reference to `i2c_new_device'
> > drivers/built-in.o: In function `i801_remove':
> > i2c-i801.c:(.text+0x126b86): undefined reference to `i2c_del_adapter'
> > drivers/built-in.o: In function `i801_probe':
> > i2c-i801.c:(.text+0x127d08): undefined reference to `i2c_add_adapter'
> > i2c-i801.c:(.text+0x127d6e): undefined reference to `i2c_new_device'
>
> Sorry for the late reply. The error is caused by the following
> combination of options:
>
> CONFIG_I2C=m
> CONFIG_I2C_I801=y
>
> I can reproduce it even with mainline now. This is caused by
> CONFIG_ITCO_WDT=y, which selects CONFIG_I2C_I801=y without selecting
> its dependencies (CONFIG_I2C.)
>
> Thanks for reporting, I'll post a fix shortly.
Sorry that you got caught up in this build error Jean.
Guenter (Cc'd) posted a fix here,
https://lkml.kernel.org/r/1441978088-27288-1-git-send-email-linux@roeck-us.net
--
Matt Fleming, Intel Open Source Technology Center
next prev parent reply other threads:[~2015-09-25 13:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-12 15:42 randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c Jim Davis
2015-09-25 7:36 ` Jean Delvare
2015-09-25 13:37 ` Matt Fleming [this message]
2015-09-25 14:06 ` Jean Delvare
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=20150925133757.GA2857@codeblueprint.co.uk \
--to=matt@codeblueprint.co.uk \
--cc=jdelvare@suse.com \
--cc=jdelvare@suse.de \
--cc=jim.epost@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=matt.fleming@intel.com \
--cc=sfr@canb.auug.org.au \
--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).