From: "Justin P. Mattock" <justinmattock@gmail.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Michal Marek <mmarek@suse.cz>,
JBeulich@novell.com, aris@redhat.com, catalin.marinas@arm.com,
jacmet@sunsite.dk, lizf@cn.fujitsu.com, ulfalizer.lkml@gmail.com,
zippel@linux-m68k.org, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kconfig: fix make oldconfig
Date: Thu, 05 Aug 2010 23:02:03 -0700 [thread overview]
Message-ID: <4C5BA55B.7050202@gmail.com> (raw)
In-Reply-To: <20100806051354.GA24343@merkur.ravnborg.org>
> [PATCH] kconfig: fix make oldconfig
>
> Linus wrote:
> This seems to make "make oldconfig" a _lot_ more verbose than it
> used to be. In a very annoying way.
>
> I just did a quick git bisect. It's introduced by commit 4062f1a4c030
> ("kconfig: use long options in conf") by Sam Ravnborg. Apparently that
> thing is totally buggy, and doesn't just change the option names, but
> actively breaks them.
>
> The old behaviour (from years ago) were reintroduced by accident.
> Fix this so we are back to the version that are silent
> if there is nothing to ask about.
>
> Reported-by: Linus Torvalds<torvalds@linux-foundation.org>
> Signed-off-by: Sam Ravnborg<sam@ravnborg.org>
> ---
>
> Sorry for this regression. Dunno how I missed it.
> I guess I only tested "silentoldconfig".
>
> Following patch seems obviously correct but as I am on the way
> out of the door I could not do much testing.
>
> Sam
>
> diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
> index 010600e..274f271 100644
> --- a/scripts/kconfig/conf.c
> +++ b/scripts/kconfig/conf.c
> @@ -599,12 +599,12 @@ int main(int ac, char **av)
> break;
> case savedefconfig:
> break;
> - case oldconfig:
> case oldaskconfig:
> rootEntry =&rootmenu;
> conf(&rootmenu);
> input_mode = silentoldconfig;
> /* fall through */
> + case oldconfig:
> case listnewconfig:
> case oldnoconfig:
> case silentoldconfig:
>
Id like to be more useful with really hitting this, seems I was for a
few moments, then something in there tripped and caused oldconfig to
behave.. anyways only real evidence I have of hitting this is an fpaste
of my shell output http://fpaste.org/LFew/
Anyways applied your patch below, make oldconfig worked as is no:
make oldconfig
scripts/kconfig/conf -o arch/x86/Kconfig
#
# configuration written to .config
#
that I was hitting for some reason or another then all of a sudden
disappeared.
Justin P. Mattock
next prev parent reply other threads:[~2010-08-06 6:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 12:51 [GIT] kbuild: kconfig changes Michal Marek
2010-08-05 23:33 ` Linus Torvalds
2010-08-06 1:27 ` Justin P. Mattock
2010-08-06 2:08 ` Linus Torvalds
2010-08-06 2:54 ` Justin P. Mattock
2010-08-06 5:13 ` [PATCH] kconfig: fix make oldconfig Sam Ravnborg
2010-08-06 6:02 ` Justin P. Mattock [this message]
2010-08-06 10:21 ` Michal Marek
2010-08-06 16:19 ` Linus Torvalds
2010-08-06 17:52 ` Sam Ravnborg
2010-08-06 18:09 ` Linus Torvalds
2010-08-06 19:52 ` Justin P. Mattock
2010-08-06 23:19 ` [GIT] kbuild: kconfig changes Arve Hjønnevåg
2010-08-07 4:01 ` Sam Ravnborg
2010-08-07 4:43 ` Arve Hjønnevåg
2010-08-08 15:57 ` Sam Ravnborg
2010-08-10 14:04 ` Michal Marek
2010-08-10 14:25 ` Sam Ravnborg
2010-08-11 19:51 ` Sam Ravnborg
2010-08-11 20:34 ` Sam Ravnborg
2010-08-11 23:39 ` Arve Hjønnevåg
2010-08-12 3:45 ` Sam Ravnborg
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=4C5BA55B.7050202@gmail.com \
--to=justinmattock@gmail.com \
--cc=JBeulich@novell.com \
--cc=aris@redhat.com \
--cc=catalin.marinas@arm.com \
--cc=jacmet@sunsite.dk \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=mmarek@suse.cz \
--cc=sam@ravnborg.org \
--cc=torvalds@linux-foundation.org \
--cc=ulfalizer.lkml@gmail.com \
--cc=zippel@linux-m68k.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