From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: can dependency on CONFIG_NET be dropped for
Date: Mon, 07 Jun 2010 17:32:57 +0000 [thread overview]
Message-ID: <20100607173257.GC7498@kroah.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1006070748180.25592@lynx>
On Mon, Jun 07, 2010 at 07:53:19AM -0400, Robert P. J. Day wrote:
>
> based on a discussion on another mailing list, it would appear that
> this dependency in kernel/sysctl.c is overkill:
>
> #if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
> {
> .procname = "hotplug",
> .data = &uevent_helper,
> .maxlen = UEVENT_HELPER_PATH_LEN,
> .mode = 0644,
> .proc_handler = proc_dostring,
> },
> #endif
>
> as someone else explained, there is no need for that CONFIG_NET
> dependency anymore, is there?
Try changing it and building, I think there is a dependancy resolution
problem if it is removed. Look at the commit history for the lines for
details.
> as i read it, you'll already have hotplug support -- all the above
> gives you is the /proc/sys/kernel/hotplug file that allows you to
> override the default setting of /sbin/hotplug, yes?
Yes. Which is pretty obsolete these days anyway.
> in the simple case, if it's feasible, one could just drop that
> second dependency. or if you wanted to make the proc file a truly
> separate config choice, just invent a new Kconfig variable like, say,
> HOTPLUG_PROC_FILE which depends on HOTPLUG.
>
> thoughts?
Is it really worth the change?
thanks,
greg k-h
prev parent reply other threads:[~2010-06-07 17:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-07 11:53 can dependency on CONFIG_NET be dropped for Robert P. J. Day
2010-06-07 17:32 ` Greg KH [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=20100607173257.GC7498@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@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 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).