From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759195Ab3FMSdl (ORCPT ); Thu, 13 Jun 2013 14:33:41 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:35530 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759121Ab3FMSdX (ORCPT ); Thu, 13 Jun 2013 14:33:23 -0400 Message-ID: <1371148401.31941.20.camel@joe-AO722> Subject: Re: [PATCH v3] ethernet/arc/arc_emac - Add new driver From: Joe Perches To: Andy Shevchenko Cc: Alexey Brodkin , netdev , Francois Romieu , Vineet Gupta , Mischa Jonker , Arnd Bergmann , Grant Likely , Rob Herring , Paul Gortmaker , "David S. Miller" , "linux-kernel@vger.kernel.org" , Devicetree Discuss Date: Thu, 13 Jun 2013 11:33:21 -0700 In-Reply-To: References: <1371134239-4531-1-git-send-email-abrodkin@synopsys.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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.