linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: Jim Davis <jim.epost@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
	linux-next <linux-next@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	e1000-devel@lists.sourceforge.net,
	netdev <netdev@vger.kernel.org>
Subject: Re: randconfig build error with next-20150302, in drivers/net/ethernet/intel/i40e/i40e_configfs.c
Date: Mon, 02 Mar 2015 15:03:54 -0800	[thread overview]
Message-ID: <1425337434.2409.11.camel@jtkirshe-mobl> (raw)
In-Reply-To: <CA+r1ZhiO8i7b4XQatEX-9X12M9hYPo5F51wrOCYdA8JSMOHnpg@mail.gmail.com>

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

On Mon, 2015-03-02 at 09:29 -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
> drivers/built-in.o: In function `i40e_cfgfs_group_make_item':
> i40e_configfs.c:(.text+0x3df4ce): undefined reference to
> `config_item_init_type_name'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x3df4ee): undefined reference to `config_group_init'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x3df50c): undefined reference to `configfs_register_subsystem'
> drivers/built-in.o: In function `i40e_configfs_exit':
> (.text+0x3df52e): undefined reference to `configfs_unregister_subsystem'
> Makefile:939: recipe for target 'vmlinux' failed

We found this issue and already have a patch to resolve the problem.
The issue is that we cannot have configfs as a module when our driver is
compiled into the kernel.  The solution is to use the similar Kconfig
logic we used for PTP (which had the same issue) for configfs.

I should have the patch pushed upstream in the next batch of patches I
push upstream.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      parent reply	other threads:[~2015-03-02 23:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02 16:29 randconfig build error with next-20150302, in drivers/net/ethernet/intel/i40e/i40e_configfs.c Jim Davis
     [not found] ` <6D2AF351-FC1E-45DB-AFC9-AFED3284DC7E@gmail.com>
2015-03-02 22:39   ` [E1000-devel] " Hisashi T Fujinaka
2015-03-02 23:03 ` Jeff Kirsher [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=1425337434.2409.11.camel@jtkirshe-mobl \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=e1000-devel@lists.sourceforge.net \
    --cc=jim.epost@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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).