All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory Haskins <gregory.haskins@gmail.com>
To: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Cc: ghaskins@novell.com, linux-next@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	sfr@canb.auug.org.au, netdev@vger.kernel.org, greg@kroah.com
Subject: Re: [BUILD-FAILURE] next-20091015 - vbus_enet driver breaks with allmodconfig
Date: Thu, 15 Oct 2009 20:29:09 -0400	[thread overview]
Message-ID: <4AD7BE55.5050905@gmail.com> (raw)
In-Reply-To: <20091015104852.GA6740@linux.vnet.ibm.com>

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

Kamalesh Babulal wrote:
> Hi Gregory,
> 
> 	While building next-20091015 with allmodconfig on the powerpc
> vbus-enet driver breaks
> 
> MODPOST 2492 modules
> ERROR: ".vbus_driver_register" [drivers/net/vbus-enet.ko] undefined!
> ERROR: ".vbus_driver_unregister" [drivers/net/vbus-enet.ko] undefined!
> ERROR: ".vbus_driver_ioq_alloc" [drivers/net/vbus-enet.ko] undefined!
> 
> CONFIG_VBUS_ENET=m
> CONFIG_VBUS_ENET_DEBUG=y
> CONFIG_VBUS_PROXY=n

Hi Kamalesh,

Please try the following patch:

commit 1de440616ac84679902d045b4476effcebfae400
Author: Gregory Haskins <ghaskins@novell.com>
Date:   Thu Oct 15 20:25:05 2009 -0400

    net: fix vbus-enet Kconfig dependencies

    We currently select VBUS_PROXY when vbus-enet is enabled, which is
    the wrong direction.  Not all platforms will define VBUS-PROXY, and
    venet depends on its inclusion.  Therefore, lets fix vbus-enet to
    properly depend on the presence of VBUS_PROXY to get this right.

    Signed-off-by: Gregory Haskins <ghaskins@novell.com>

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 47dfa04..c9128ea 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -3233,7 +3233,7 @@ config VIRTIO_NET
 config VBUS_ENET
        tristate "VBUS Ethernet Driver"
        default n
-       select VBUS_PROXY
+       depends on VBUS_PROXY
        help
           A virtualized 802.x network device based on the VBUS
           "virtual-ethernet" interface.  It can be used with any




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 267 bytes --]

  parent reply	other threads:[~2009-10-16  0:29 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15  4:25 linux-next: Tree for October 15 Stephen Rothwell
2009-10-15 10:48 ` [BUILD-FAILURE] next-20091015 - vbus_enet driver breaks with allmodconfig Kamalesh Babulal
2009-10-15 11:21   ` Gregory Haskins
2009-10-15 11:21     ` Gregory Haskins
2009-10-15 17:39     ` Gregory Haskins
2009-10-15 18:42       ` Randy Dunlap
2009-10-15 18:54         ` Randy Dunlap
2009-10-15 22:25         ` Gregory Haskins
2009-11-06 17:38           ` Randy Dunlap
2009-11-06 19:02             ` Gregory Haskins
2009-11-06 19:02               ` Gregory Haskins
2009-10-16  0:29   ` Gregory Haskins [this message]
2009-10-15 19:17 ` linux-next: Tree for October 15 (i7core_edac) Randy Dunlap
2009-10-15 22:29 ` [PATCH -next] vmxnet3: use dev_dbg, fix build for CONFIG_BLOCK=n Randy Dunlap
2009-10-15 22:35   ` [Pv-drivers] " Bhavesh Davda
2009-10-15 22:42     ` Randy Dunlap
2009-10-15 22:47       ` Dmitry Torokhov
2009-10-15 22:53         ` Dmitry Torokhov
2009-10-15 22:53           ` Dmitry Torokhov
2009-10-15 22:53         ` Bhavesh Davda
2009-10-17  0:54     ` David Miller
2009-10-15 22:37   ` Shreyas Bhatewara

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=4AD7BE55.5050905@gmail.com \
    --to=gregory.haskins@gmail.com \
    --cc=ghaskins@novell.com \
    --cc=greg@kroah.com \
    --cc=kamalesh@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.