From: Steven Rostedt <rostedt@goodmis.org>
To: "Toralf Förster" <toralf.foerster@gmx.de>
Cc: zippel@linux-m68k.org, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] streamline_config.pl: use references rather than copied data structures
Date: Thu, 27 May 2010 15:52:06 -0400 [thread overview]
Message-ID: <1274989926.22648.281.camel@gandalf.stny.rr.com> (raw)
In-Reply-To: <201005271624.44746.toralf.foerster@gmx.de>
On Thu, 2010-05-27 at 16:24 +0200, Toralf Förster wrote:
> Understood and accepted.
>
> What's about the following 2 snippets (a trivial typo and an attempt to
> prevent a possible trap) ? :
>
Can you make a proper patch out of this (with signed-off-by as well).
Also your patches have major whitespace damage. Could you fix your mail
client.
Thanks,
-- Steve
>
> diff --git a/scripts/kconfig/streamline_config.pl
> b/scripts/kconfig/streamline_config.pl
> index afbd54a..3f54911 100644
> --- a/scripts/kconfig/streamline_config.pl
> +++ b/scripts/kconfig/streamline_config.pl
> @@ -242,7 +242,7 @@ foreach my $makefile (@makefiles) {
> foreach my $obj (split /\s+/,$objs) {
> $obj =~ s/-/_/g;
> if ($obj =~ /(.*)\.o$/) {
> - # Objects may bes enabled by more than one config.
> + # Objects may be enabled by more than one config.
> # Store configs in an array.
> my @arr;
>
>
>
> diff --git a/scripts/kconfig/streamline_config.pl
> b/scripts/kconfig/streamline_config.pl
> index afbd54a..9726946 100644
> --- a/scripts/kconfig/streamline_config.pl
> +++ b/scripts/kconfig/streamline_config.pl
> @@ -307,7 +307,7 @@ close (LIN);
> my %configs;
> foreach my $module (keys(%modules)) {
> if (defined($objects{$module})) {
> - @arr = @{$objects{$module}};
> + my @arr = @{$objects{$module}};
> foreach my $conf (@arr) {
> $configs{$conf} = $module;
> }
>
>
prev parent reply other threads:[~2010-05-27 19:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 11:42 [PATCH] streamline_config.pl: use references rather than copied data structures Toralf Förster
2010-05-27 13:07 ` Steven Rostedt
2010-05-27 14:24 ` Toralf Förster
2010-05-27 18:50 ` Steven Rostedt
2010-05-27 19:52 ` Steven Rostedt [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=1274989926.22648.281.camel@gandalf.stny.rr.com \
--to=rostedt@goodmis.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=toralf.foerster@gmx.de \
--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