[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1319065158.27047.6.camel@Joe-Laptop>
Date: Wed, 19 Oct 2011 15:59:18 -0700
From: Joe Perches <joe@...ches.com>
To: Francois Romieu <romieu@...zoreil.com>
Cc: cloud.ren@...eros.com, davem@...emloft.net,
Luis.Rodriguez@...eros.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [patch net-next]alx: Atheros AR8131/AR8151/AR8152/AR8161
Ethernet driver
On Thu, 2011-10-20 at 00:21 +0200, Francois Romieu wrote:
> cloud.ren@...eros.com <cloud.ren@...eros.com> :
> > diff --git a/drivers/net/ethernet/atheros/alx/alc_cb.c b/drivers/net/ethernet/atheros/alx/alc_cb.c
> [...]
A bunch of good style comments.
> > + hw->autoneg_advertised = (ALX_LINK_SPEED_1GB_FULL |
> > + ALX_LINK_SPEED_10_HALF |
> > + ALX_LINK_SPEED_10_FULL |
> > + ALX_LINK_SPEED_100_HALF |
> > + ALX_LINK_SPEED_100_FULL);
> Parenthesis abuse.
Maybe. I use parenthesis too, but not the trailing | alignment.
emacs does leading alignment nicely when you use an open paren.
--
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