public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: aquini@linux.com
Cc: Jay Vosburgh <fubar@us.ibm.com>, Joe Perches <joe@perches.com>,
	kernel-janitors@vger.kernel.org,
	David Miller <davem@davemloft.net>,
	Andy Gospodarek <andy@greyhouse.net>,
	netdev@vger.kernel.org, Nicolas Kaiser <nikai@nikai.net>
Subject: Re: [PATCH net-next-2.6] net/bonding: adjust codingstyle for
Date: Thu, 12 May 2011 00:28:14 +0000	[thread overview]
Message-ID: <20110511172814.714e2f2a@nehalam> (raw)
In-Reply-To: <20110511225208.GA18851@x61.tchesoft.com>

On Wed, 11 May 2011 19:52:21 -0300
Rafael Aquini <aquini@linux.com> wrote:

> Howdy,
> 
> While I was studying what bond_3ad has under its hood, I realized its coding
> style did not follow all Documentation/CodingStyle recommendations. As a tiny
> collaboration I did some mods there, in an attempt to make that code stick as
> closely as possible with Kernel's coding style. Also, Nicolas Kaiser has kindly
> suggested some conditional simplifications integrated in this patch.
> Modifications:
>         * switched all comments from C99-style to C89-style;
>         * replaced MAC_ADDRESS_COMPARE macro for compare_ether_addr();
> 	* print info out on unexpected status checkings;
>         * simplify conditionals:
> 		(a || (!a && !b)) => (a || !b)
> 		(!(!a && b)) => (a || !b)
> 
> Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
> Signed-off-by: Rafael Aquini <aquini@linux.com>

This should be split into three separate patches.

Always assume your change will break something for somebody and it will
be necessary for some later investigation to bisect out the cause.



-- 

  parent reply	other threads:[~2011-05-12  0:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 22:52 [PATCH net-next-2.6] net/bonding: adjust codingstyle for bond_3ad files Rafael Aquini
2011-05-11 23:52 ` [PATCH net-next-2.6] net/bonding: adjust codingstyle for Nicolas Kaiser
2011-05-12  0:18   ` [PATCH net-next-2.6] net/bonding: adjust codingstyle for bond_3ad Rafael Aquini
2011-05-12  0:59     ` [PATCH net-next-2.6] net/bonding: adjust codingstyle for Joe Perches
2011-05-12  0:28 ` Stephen Hemminger [this message]
2011-05-12  0:48   ` [PATCH net-next-2.6] net/bonding: adjust codingstyle for bond_3ad Rafael Aquini
2011-05-12  0:39 ` Rafael Aquini

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=20110511172814.714e2f2a@nehalam \
    --to=shemminger@vyatta.com \
    --cc=andy@greyhouse.net \
    --cc=aquini@linux.com \
    --cc=davem@davemloft.net \
    --cc=fubar@us.ibm.com \
    --cc=joe@perches.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nikai@nikai.net \
    /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