[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1361755409.2281.9.camel@joe-AO722>
Date: Sun, 24 Feb 2013 17:23:29 -0800
From: Joe Perches <joe@...ches.com>
To: David Miller <davem@...emloft.net>
Cc: syamsidhardh@...il.com, netdev@...r.kernel.org, olof@...om.net
Subject: Re: [PATCH] net/pasemi: Fix missing coding style
On Sun, 2013-02-24 at 20:13 -0500, David Miller wrote:
> From: Syam Sidhardhan <syamsidhardh@...il.com>
> Date: Mon, 25 Feb 2013 04:31:19 +0530
>
> > - } else
> > + } else {
> > freed = 2;
> > + }
>
> Single line statements do not need braces.
I guess you didn't see the preceding block with braces.
CodingStyle:
This does not apply if only one branch of a conditional statement is a single
statement; in the latter case use braces in both branches:
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists