From patchwork Thu Apr 30 23:36:43 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 21267 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3UNcBTi015731 for ; Thu, 30 Apr 2009 23:38:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754848AbZD3XiA (ORCPT ); Thu, 30 Apr 2009 19:38:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754450AbZD3XiA (ORCPT ); Thu, 30 Apr 2009 19:38:00 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:50962 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754434AbZD3Xh7 (ORCPT ); Thu, 30 Apr 2009 19:37:59 -0400 Received: from gandalf.stny.rr.com ([74.67.89.75]) by hrndva-omta03.mail.rr.com with ESMTP id <20090430233758731.JTIT12322@hrndva-omta03.mail.rr.com>; Thu, 30 Apr 2009 23:37:58 +0000 Received: from rostedt by gandalf.stny.rr.com with local (Exim 4.69) (envelope-from ) id 1LzfpG-0006mZ-1D; Thu, 30 Apr 2009 19:37:58 -0400 Message-Id: <20090430233757.468789683@goodmis.org> References: <20090430233642.333097165@goodmis.org> User-Agent: quilt/0.46-1 Date: Thu, 30 Apr 2009 19:36:43 -0400 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Andrew Morton , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Theodore Tso , Arnaldo Carvalho de Melo , zippel@linux-m68k.org, linux-kbuild@vger.kernel.org, Sam Ravnborg , Alan Jenkins Subject: [PATCH 1/2] kconfig: unset IKCONFIG_PROC and clean up nesting Content-Disposition: inline; filename=0001-kconfig-unset-IKCONFIG_PROC-and-clean-up-nesting.patch Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Steven Rostedt Due to cut and paste error IKCONFIG was both set and cleared. It was suppose to be IKCONFIG_PROC to be cleared. Also cleaned up if nesting. [ Impact: enable IKCONFIG ] Reported-by: Alan Jenkins Signed-off-by: Steven Rostedt --- scripts/kconfig/streamline_config.pl | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 9fa3f81..69b7c3f 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl @@ -323,7 +323,7 @@ while() { # enable IKCONFIG at least as a module print "CONFIG_IKCONFIG=m\n"; # don't ask about PROC - print "# CONFIG_IKCONFIG is not set\n"; + print "# CONFIG_IKCONFIG_PROC is not set\n"; } else { print; } @@ -333,15 +333,12 @@ while() { if (/^(CONFIG.*)=(m|y)/) { if (defined($configs{$1})) { $setconfigs{$1} = $2; - print; } elsif ($2 eq "m") { print "# $1 is not set\n"; - } else { - print; + next; } - } else { - print; } + print; } close(CIN);