[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090722212338.a431b86c.ken_kawasaki@spring.nifty.jp>
Date: Wed, 22 Jul 2009 21:23:38 +0900
From: Ken Kawasaki <ken_kawasaki@...ing.nifty.jp>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] 3c589_cs: re-initialize the multicast in the
tc589_reset
On Mon, 20 Jul 2009 08:29:06 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:
> > 3c589_cs:
> > re-initialize the multicast in the tc589_reset,
> > and spin_lock the set_multicast_list function.
> >
> > Signed-off-by: Ken Kawasaki <ken_kawasaki@...ing.nifty.jp>
>
> Applied, but you really need to fix your coding style.
>
> I know perhaps you were trying to be consistent with the
> rest of this driver, but when adding completely new code
> the conventions of the rest of the kernel ought to be
> followed, for example:
>
> > +static void set_multicast_list(struct net_device *dev)
> > +{
> > + struct el3_private *priv = netdev_priv(dev);
> > + unsigned long flags;
> > +
> > + spin_lock_irqsave(&priv->lock, flags);
> > + set_rx_mode(dev);
> > + spin_unlock_irqrestore(&priv->lock, flags);
> > +}
>
> One tab should begin each statement in this function, and
> spin_lock and spin_unlock lines had unnecessary trailing
> whitespace.
>
> I fixed all of this up when applying your patch, but I
> absolutely will not do so next time.
OK.
Thanks!
--
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