Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1232827

Re: randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c

Path csiph.com!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Matt Fleming <matt@codeblueprint.co.uk>
Newsgroups linux.kernel
Subject Re: randconfig build error with next-20150812, in drivers/i2c/busses/i2c-i801.c
Date Fri, 25 Sep 2015 15:40:02 +0200
Message-ID <qcBoe-2Py-11@gated-at.bofh.it> (permalink)
References <pWGrV-hj-13@gated-at.bofh.it> <qcvLQ-3dG-7@gated-at.bofh.it>
X-Original-To Jean Delvare <jdelvare@suse.de>
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=yBN3A0oJbyXxDkUfuB0/NuVWvtzZbZY+JckcLJ6ZuM8=; b=mEo7ezLUGNYuHnC9A9Sf1FrwLQo5d+Jw5/QQFW0Sxanvia9W4H0r40lccZHBP6j5wS XUZezs+yXYgCYYiIA20RW5oiB3VraTDViyYZl/Oc8uW8p2a9W6xpNKM6+RhkV1qfHa7N DjBNETEotS4Lsu5x0JmhPXl25C87SHGnff3CkztSN7IQQKd8Omj1g47KQapQNxJaN3aZ 8D80a2cr6CQQ5Xs+FhWxNlxNExueN1KKJF+g5f6p2Rx6cpZFqnjajl/ex2AcjV4f5+Zu yHuiZ9kSAvs9j08Wl4a7vjfma7PhroeP9cCl5KC414hQqyK4NfqIR2MSV+mIWoCbBeCY YvGw==
X-Gm-Message-State ALoCoQmyKMiXYnZ+zl4hTAFTEs2M6lEwO3R6X9gaDrt/RTnMbkGW22N5ILAZ2IItB+LS4wZC3C4R
X-Received by 10.181.27.138 with SMTP id jg10mr3722611wid.29.1443188278984; Fri, 25 Sep 2015 06:37:58 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
X-Original-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>
X-Original-Date Fri, 25 Sep 2015 14:37:57 +0100
X-Original-Message-ID <20150925133757.GA2857@codeblueprint.co.uk>
X-Original-References <CA+r1ZhjyBKcWbNB3hkPxoEKatojYk9=VPqSurZHPk9nfNp_gSQ@mail.gmail.com> <20150925093610.64ed7f59@endymion.delvare>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1232827

Show key headers only | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: randconfig build error with next-20150812, in  drivers/i2c/busses/i2c-i801.c Jean Delvare <jdelvare@suse.de> - 2015-09-25 09:40 +0200
  Re: randconfig build error with next-20150812, in  drivers/i2c/busses/i2c-i801.c Matt Fleming <matt@codeblueprint.co.uk> - 2015-09-25 15:40 +0200
    Re: randconfig build error with next-20150812, in  drivers/i2c/busses/i2c-i801.c Jean Delvare <jdelvare@suse.de> - 2015-09-25 16:10 +0200

csiph-web