All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@cyclades.com>
To: Greg KH <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: [PATCH] Kernel doesn't compile with CONFIG_HOTPLUG && !CONFIG_NET
Date: Wed, 19 Apr 2006 08:44:21 +1000	[thread overview]
Message-ID: <200604190844.25476.ncunningham@cyclades.com> (raw)

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

Hi.

2.6.17-rc1 doesn't compile if networking support is disabled but hotplug is
enabled. This patch addresses that issue.

Please consider applying.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>

 sysctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff -ruNp 9904.patch-old/kernel/sysctl.c 9904.patch-new/kernel/sysctl.c
--- 9904.patch-old/kernel/sysctl.c	2006-04-19 08:40:47.000000000 +1000
+++ 9904.patch-new/kernel/sysctl.c	2006-04-17 21:06:23.000000000 +1000
@@ -401,7 +401,7 @@ static ctl_table kern_table[] = {
 		.strategy	= &sysctl_string,
 	},
 #endif
-#ifdef CONFIG_HOTPLUG
+#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
 	{
 		.ctl_name	= KERN_HOTPLUG,
 		.procname	= "hotplug",

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2006-04-18 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 22:44 Nigel Cunningham [this message]
2006-04-18 23:16 ` [PATCH] Kernel doesn't compile with CONFIG_HOTPLUG && !CONFIG_NET Andrew Morton
2006-04-18 23:17   ` Nigel Cunningham
2006-04-19  0:25   ` Greg KH

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=200604190844.25476.ncunningham@cyclades.com \
    --to=ncunningham@cyclades.com \
    --cc=akpm@osdl.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /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.