From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753968Ab0FGSv0 (ORCPT ); Mon, 7 Jun 2010 14:51:26 -0400 Received: from cantor.suse.de ([195.135.220.2]:50303 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753521Ab0FGSvW (ORCPT ); Mon, 7 Jun 2010 14:51:22 -0400 Date: Mon, 7 Jun 2010 11:49:42 -0700 From: Greg KH To: Randy Dunlap Cc: Ian Abbott , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Support kernel/hotplug sysctl variable when !CONFIG_NET Message-ID: <20100607184942.GA11105@suse.de> References: <1275911832-11667-1-git-send-email-abbotti@mev.co.uk> <20100607174350.GA7807@suse.de> <20100607111145.1b98fdb4.randy.dunlap@oracle.com> <20100607181651.GA9999@suse.de> <4C0D39F2.7090806@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C0D39F2.7090806@oracle.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 07, 2010 at 11:26:58AM -0700, Randy Dunlap wrote: > On 06/07/10 11:16, Greg KH wrote: > > On Mon, Jun 07, 2010 at 11:11:45AM -0700, Randy Dunlap wrote: > >> On Mon, 7 Jun 2010 10:43:50 -0700 Greg KH wrote: > >> > >>> On Mon, Jun 07, 2010 at 12:57:12PM +0100, Ian Abbott wrote: > >>>> From: Ian Abbott > >>>> > >>>> The kernel/hotplug sysctl variable (/proc/sys/kernel/hotplug file) was > >>>> made conditional on CONFIG_NET by commit > >>>> f743ca5e10f4145e0b3e6d11b9b46171e16af7ce (applied in 2.6.18) to fix > >>>> problems with undefined references in 2.6.16 when CONFIG_HOTPLUG=y && > >>>> !CONFIG_NET, but this restriction is no longer needed. > >> > >> Ack, builds for me on x86_64 when CONFIG_NET is not enabled. > >> > >>> Why is this restriction no longer needed? What changed? > >> > >> > >> commit cd3772e6898c6386f21d2958346d6dd57d4204f5 > >> Author: Ming Lei > >> Date: Sun Nov 16 18:22:09 2008 +0800 > >> > >> kernel/ksysfs.c:fix dependence on CONFIG_NET > >> > >> Access to uevent_seqnum and uevent_helper does not need to > >> depend on CONFIG_NET, so remove it. > >> > >> Signed-off-by: Ming Lei > >> Cc: Kay Sievers > >> Signed-off-by: Greg Kroah-Hartman > > > > So something back in 2008 changed which requires a change now? > > "requires" is too strong of a word to use here. "allows" a change. > > > I'm still confused, what use case calls for the original patch here > > being made? Who wants to modify this option with CONFIG_NET disabled on > > their machine? > > > Are you trying to slow down on kernel patches for some reason? Heh, no, I'm trying to see where to put this, in my "for .35" queue, or my "for .36" queue. > Using CONFIG_NET is more restrictive than is needed here, so remove it. Fair enough, I'll queue it up. thanks, greg k-h