From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id ACC4CDDEEA for ; Wed, 17 Jan 2007 14:17:40 +1100 (EST) Subject: Re: [PATCH 18/59] sysctl: ipmi remove unnecessary insert_at_head flag From: Benjamin Herrenschmidt To: "Eric W. Biederman" In-Reply-To: <1168965635875-git-send-email-ebiederm@xmission.com> References: <1168965635875-git-send-email-ebiederm@xmission.com> Content-Type: text/plain Date: Wed, 17 Jan 2007 14:14:54 +1100 Message-Id: <1169003694.4778.15.camel@localhost.localdomain> Mime-Version: 1.0 Cc: ", linux-mips@linux-mips.org, linux-parport@lists.infradead.org, heiko.carstens@de.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, paulus@samba.org, aharkes@cs.cmu.edu, tim@cyberelk.net, linux-scsi@vger.kernel.org, kurt.hackel@oracle.com, coda@cs.cmu.edu, vojtech@suse.cz, linuxsh-shmedia-dev@lists.sourceforge.net, James.Bottomley@SteelEye.com, rtc-linux@googlegroups.com, clemens@ladisch.de, xfs@oss.sgi.com, xfs-masters@oss.sgi.com, andrea@suse.de, linux390@de.ibm.com, openipmi-developer@lists.sourceforge.net, linux-390@vm.marist.edu, codalist@TELEMANN.coda.cs.cmu.edu, a.zummo@towertech.it, tony.luck@intel.com, linux-ntfs-dev@lists.sourceforge.net, netdev@vger.kernel.org, ak@suse.de, ralf@linux-mips.org, containers@lists.osdl.org, lethal@linux-sh.org, schwidefsky@de.ibm.com, aia21@cantab.net, philb@gnu.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2007-01-16 at 09:39 -0700, Eric W. Biederman wrote: > From: Eric W. Biederman - unquoted > > With unique sysctl binary numbers setting insert_at_head is pointless. > > Signed-off-by: Eric W. Biederman Acked-by: Benjamin Herrenschmidt > --- > drivers/char/ipmi/ipmi_poweroff.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c > index 9d23136..b3ae65e 100644 > --- a/drivers/char/ipmi/ipmi_poweroff.c > +++ b/drivers/char/ipmi/ipmi_poweroff.c > @@ -686,7 +686,7 @@ static int ipmi_poweroff_init (void) > printk(KERN_INFO PFX "Power cycle is enabled.\n"); > > #ifdef CONFIG_PROC_FS > - ipmi_table_header = register_sysctl_table(ipmi_root_table, 1); > + ipmi_table_header = register_sysctl_table(ipmi_root_table, 0); > if (!ipmi_table_header) { > printk(KERN_ERR PFX "Unable to register powercycle sysctl\n"); > rv = -ENOMEM;