[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090720.082906.101507247.davem@davemloft.net>
Date: Mon, 20 Jul 2009 08:29:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ken_kawasaki@...ing.nifty.jp
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] 3c589_cs: re-initialize the multicast in the
tc589_reset
From: Ken Kawasaki <ken_kawasaki@...ing.nifty.jp>
Date: Mon, 20 Jul 2009 08:08:12 +0900
>
> 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.
Thank you.
--
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