From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: Re: [PATCH v3] ethernet/arc/arc_emac - Add new driver Date: Thu, 13 Jun 2013 11:33:21 -0700 Message-ID: <1371148401.31941.20.camel@joe-AO722> References: <1371134239-4531-1-git-send-email-abrodkin@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Andy Shevchenko Cc: Devicetree Discuss , netdev , Vineet Gupta , Alexey Brodkin , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , "David S. Miller" , Paul Gortmaker , Francois Romieu , Grant Likely , Mischa Jonker List-Id: devicetree@vger.kernel.org On Thu, 2013-06-13 at 21:25 +0300, Andy Shevchenko wrote: > On Thu, Jun 13, 2013 at 5:37 PM, Alexey Brodkin > wrote: > > Driver for non-standard on-chip ethernet device ARC EMAC 10/100, > > instantiated in some legacy ARC (Synopsys) FPGA Boards such as > > ARCAngel4/ML50x. > > Much better. But still few comments below. Sensible comments save for this truly trivial one > > +++ b/drivers/net/ethernet/arc/arc_emac.h [] > > + if (unlikely((info & OWN_MASK) == FOR_EMAC)) { > > + /* BD is still owned by EMAC */ > > + continue; > > + } > > Redundant braces. Maybe not. Braces can be a visual aid when there is a comment in the test.