mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: John Kim <john@larvalstage.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: make allyesconfig broken in 2.5.70-bk10 and -bk11
Date: Fri, 6 Jun 2003 17:04:11 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0306061658050.12110-100000@serv> (raw)
In-Reply-To: <Pine.LNX.4.53.0306061009530.28886@jake.larvalstage.com>

Hi,

On Fri, 6 Jun 2003, John Kim wrote:

>   Root Plug Support (SECURITY_ROOTPLUG) [N/m/y/?] (NEW) y
> *
> * Cryptographic options
> *
> -----
> make allyesconfig works just fine for -bk9.

Hmm, it seems I missed a problem with the new select keyword.
This patch prevents any attempt to change any symbol which isn't changable 
anyway (e.g. force to 'y' via select).

bye, Roman

diff -pur linux-2.5.70-bk10.org/scripts/kconfig/conf.c linux-2.5.70-bk10/scripts/kconfig/conf.c
--- linux-2.5.70-bk10.org/scripts/kconfig/conf.c	2003-06-06 10:57:49.000000000 +0200
+++ linux-2.5.70-bk10/scripts/kconfig/conf.c	2003-06-06 16:51:38.000000000 +0200
@@ -73,6 +73,13 @@ static void conf_askvalue(struct symbol 
 	line[0] = '\n';
 	line[1] = 0;
 
+	if (!sym_is_changable(sym)) {
+		printf("%s\n", def);
+		line[0] = '\n';
+		line[1] = 0;
+		return;
+	}
+
 	switch (input_mode) {
 	case ask_new:
 	case ask_silent:
@@ -82,12 +89,6 @@ static void conf_askvalue(struct symbol 
 		}
 		check_stdin();
 	case ask_all:
-		if (!sym_is_changable(sym)) {
-			printf("%s\n", def);
-			line[0] = '\n';
-			line[1] = 0;
-			return;
-		}
 		fflush(stdout);
 		fgets(line, 128, stdin);
 		return;


      reply	other threads:[~2003-06-06 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-06 14:18 John Kim
2003-06-06 15:04 ` Roman Zippel [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=Pine.LNX.4.44.0306061658050.12110-100000@serv \
    --to=zippel@linux-m68k.org \
    --cc=john@larvalstage.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®