From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] 3c589_cs: re-initialize the multicast in the tc589_reset Date: Mon, 20 Jul 2009 08:29:06 -0700 (PDT) Message-ID: <20090720.082906.101507247.davem@davemloft.net> References: <20090405094907.5f6a5fea.ken_kawasaki@spring.nifty.jp> <20090720080812.49633622.ken_kawasaki@spring.nifty.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: ken_kawasaki@spring.nifty.jp Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:57010 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbZGTP3A (ORCPT ); Mon, 20 Jul 2009 11:29:00 -0400 In-Reply-To: <20090720080812.49633622.ken_kawasaki@spring.nifty.jp> Sender: netdev-owner@vger.kernel.org List-ID: From: Ken Kawasaki 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 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.