All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
To: Julia Lawall <julia.lawall@lip6.fr>
Cc: Alison Schofield <amsfield22@gmail.com>,
	outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH] staging: gdmwm: move constant to right side of comparison test
Date: Mon, 12 Oct 2015 15:13:46 +0530	[thread overview]
Message-ID: <20151012094318.GA13596@sudip-pc> (raw)
In-Reply-To: <alpine.DEB.2.02.1510111203300.2052@localhost6.localdomain6>

On Sun, Oct 11, 2015 at 12:04:22PM +0200, Julia Lawall wrote:
> 
> 
> On Sat, 10 Oct 2015, Alison Schofield wrote:
> 
> > On Sat, Oct 10, 2015 at 09:22:27AM +0200, Julia Lawall wrote:
> > > On Sat, 10 Oct 2015, Sudip Mukherjee wrote:
> > > 
> > > > On Thu, Oct 08, 2015 at 11:13:23PM -0700, Alison Schofield wrote:
<snip>
> > > 
> > > I'm not sure there is such a semantic intent to the rule.  Do something 
> > > complex and then see if it is like T, looks better to me than see if T is 
> > > like doing something complex.  The checkpatch/commit message is indeed 
> > > misleading, but the layout of characters looks better.
> > > 
> > > julia
> > 
> > Let me see if I have the correct understanding.
> > 
> > T and L are variables, not constants, therefore the checkpatch error and
> > my subsequent commit msg are misleading. 
> 
> Yes.
> 
> > Regardless of whether this
> > case should have been flagged by checkpatch the edit improves
> > readability.
> > 
> > So, I'd lean towards keeping the edit and changing the commit msg & 
> > description like this:
> > 
> > 	staging: gdmwm: move variable to right side of comparison test
> >     
> > 	Move variables to right side of comparison test to improve readability.
> > 		
> > Your thoughts?
> 
> It seems good to me.

Sorry for the late reply. Commit message looks good now.

regards
sudip


  reply	other threads:[~2015-10-12  9:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09  6:13 [PATCH] staging: gdmwm: move constant to right side of comparison test Alison Schofield
2015-10-10  7:00 ` [Outreachy kernel] " Sudip Mukherjee
2015-10-10  7:22   ` Julia Lawall
2015-10-11  6:37     ` Alison Schofield
2015-10-11 10:04       ` Julia Lawall
2015-10-12  9:43         ` Sudip Mukherjee [this message]
2015-10-12 20:53 ` [PATCH v2] staging: gdmwm: move variables " Alison Schofield

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=20151012094318.GA13596@sudip-pc \
    --to=sudipm.mukherjee@gmail.com \
    --cc=amsfield22@gmail.com \
    --cc=julia.lawall@lip6.fr \
    --cc=outreachy-kernel@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.