public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
To: David Miller <davem@davemloft.net>
Cc: gregory.v.rose@intel.com, netdev@vger.kernel.org,
	nhorman@redhat.com, sassmann@redhat.com, jogreene@redhat.com
Subject: Re: [net-next] i40e: Fix dependencies in the i40e driver on configfs
Date: Tue, 03 Mar 2015 13:04:40 -0800	[thread overview]
Message-ID: <1425416680.2556.92.camel@jtkirshe-mobl> (raw)
In-Reply-To: <20150303.154515.1426526534548261925.davem@davemloft.net>

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

On Tue, 2015-03-03 at 15:45 -0500, David Miller wrote:
> From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Date: Tue,  3 Mar 2015 12:38:55 -0800
> 
> > From: Greg Rose <gregory.v.rose@intel.com>
> > 
> > Module dependencies are broken in the case where CONFIG_I40E=y and
> > CONFIG_CONFIGFS_FS=m.  This fixes the broken dependency.
> > 
> > Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
> > Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> 
> This doesn't fix anything, nothing tests I40E_CONFIGFS_FS:
> 
> [davem@abraco net-next]$ make -s -j8
> scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler
> scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler
> kernel/Makefile:133: *** No X.509 certificates found ***
> kernel/Makefile:133: *** No X.509 certificates found ***
> drivers/built-in.o: In function `i40e_cfgfs_group_make_item':
> i40e_configfs.c:(.text+0x192db7): undefined reference to `config_item_init_type_name'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x192df1): undefined reference to `config_group_init'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x192e25): undefined reference to `configfs_register_subsystem'
> drivers/built-in.o: In function `i40e_configfs_exit':
> (.text+0x192e7a): undefined reference to `configfs_unregister_subsystem'
> make: *** [vmlinux] Error 1
> [davem@abraco net-next]$ git am --signoff diff
> Applying: i40e: Fix dependencies in the i40e driver on configfs
> [davem@abraco net-next]$ make oldconfig
> scripts/kconfig/conf --oldconfig Kconfig
> #
> # configuration written to .config
> #
> [davem@abraco net-next]$ make -s -j8
> scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler
> scripts/Makefile.kasan:16: Cannot use CONFIG_KASAN: -fsanitize=kernel-address is not supported by compiler
> kernel/Makefile:133: *** No X.509 certificates found ***
> kernel/Makefile:133: *** No X.509 certificates found ***
> drivers/built-in.o: In function `i40e_cfgfs_group_make_item':
> i40e_configfs.c:(.text+0x192db7): undefined reference to `config_item_init_type_name'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x192df1): undefined reference to `config_group_init'
> drivers/built-in.o: In function `i40e_configfs_init':
> (.text+0x192e25): undefined reference to `configfs_register_subsystem'
> drivers/built-in.o: In function `i40e_configfs_exit':
> (.text+0x192e7a): undefined reference to `configfs_unregister_subsystem'
> make: *** [vmlinux] Error 1
> [davem@abraco net-next]$ 

Sorry it appears there were two issues that we needed to resolve.  The
first was the issue found with a randonconfig build where if the i40e
was compiled into the kernel and configfs was module, which this was
trying to correct.

The checks in the driver need to be changed from CONFIG_CONFIGFS_FS to
checking for CONFIG_I40E_CONFIGFS_FS, now that there is a Kconfig
option.

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

      reply	other threads:[~2015-03-03 21:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03 20:38 [net-next] i40e: Fix dependencies in the i40e driver on configfs Jeff Kirsher
2015-03-03 20:42 ` Jeff Kirsher
2015-03-03 20:45 ` David Miller
2015-03-03 21:04   ` 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=1425416680.2556.92.camel@jtkirshe-mobl \
    --to=jeffrey.t.kirsher@intel.com \
    --cc=davem@davemloft.net \
    --cc=gregory.v.rose@intel.com \
    --cc=jogreene@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=nhorman@redhat.com \
    --cc=sassmann@redhat.com \
    /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