From: Dave Chinner <david@fromorbit.com>
To: Alex Elder <aelder@sgi.com>
Cc: David Sterba <dsterba@suse.cz>, xfs@oss.sgi.com
Subject: Re: [PATCH, v2] xfs: cleanup duplicate initializations
Date: Thu, 14 Apr 2011 08:53:27 +1000 [thread overview]
Message-ID: <20110413225327.GM31057@dastard> (raw)
In-Reply-To: <1302732208.2023.146.camel@doink>
On Wed, Apr 13, 2011 at 05:03:28PM -0500, Alex Elder wrote:
> On Mon, 2011-03-28 at 13:52 -0500, Alex Elder wrote:
> > On Mon, 2011-03-28 at 19:12 +0200, David Sterba wrote:
> > > follow these guidelines:
> > > - leave initialization in the declaration block if it fits the line
> > > - move to the code where it's more suitable ('for' init block)
> > >
> > > Signed-off-by: David Sterba <dsterba@suse.cz>
> >
> > Looks good.
> >
> > Reviewed-by: Alex Elder <aelder@sgi.com>
>
> I retract this. The last chunk in the patch is erroneous.
>
> Below is the original proposed patch, except I have
> modified the last chunk to be a correct fix for what
> appears to be a duplicate initialization. (It was not,
> really, but I've changed it so only one assignment is
> made, and the result makes it more obvious what's
> going on.)
>
> David, perhaps you could sign off on this version.
> Meanwhile, another reviewer might make sense.
Seeing as you only added a hunk, I'd say that keeping his old
sіgnoff is just fine.
>
> -Alex
>
> follow these guidelines:
> - leave initialization in the declaration block if it fits the line
> - move to the code where it's more suitable ('for' init block)
>
> Originally proposed by David Sterba <dsterba@suse.cz>
That is what the "From:" tag is for when you post someone else's
patch. ;)
Anyway, looks good now.
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-04-13 22:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 17:12 [PATCH] xfs: cleanup duplicate initializations David Sterba
2011-03-28 18:52 ` Alex Elder
2011-04-13 22:03 ` [PATCH, v2] " Alex Elder
2011-04-13 22:53 ` Dave Chinner [this message]
2011-04-14 14:50 ` Alex Elder
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=20110413225327.GM31057@dastard \
--to=david@fromorbit.com \
--cc=aelder@sgi.com \
--cc=dsterba@suse.cz \
--cc=xfs@oss.sgi.com \
/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