From patchwork Sat Jun 19 22:35:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 107013 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o5JMZUkV003416 for ; Sat, 19 Jun 2010 22:35:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753004Ab0FSWf3 (ORCPT ); Sat, 19 Jun 2010 18:35:29 -0400 Received: from mail.gmx.net ([213.165.64.20]:34699 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752385Ab0FSWf3 (ORCPT ); Sat, 19 Jun 2010 18:35:29 -0400 Received: (qmail invoked by alias); 19 Jun 2010 22:35:27 -0000 Received: from p54AD1BF7.dip0.t-ipconnect.de (EHLO p100.box) [84.173.27.247] by mail.gmx.net (mp070) with SMTP; 20 Jun 2010 00:35:27 +0200 X-Authenticated: #1045983 X-Provags-ID: V01U2FsdGVkX180UD8zGks0vG/KTG5CstJw2btBk4uXm5UlQU5bPO L6V4m7ss1VHfaY Date: Sun, 20 Jun 2010 00:35:24 +0200 From: Helge Deller To: linux-kernel@vger.kernel.org, Linus Torvalds , linux-parisc@vger.kernel.org, Kyle McMartin , "David S. Miller" , Jiri Pirko Subject: [PATCH] lasi82596: fix netdev_mc_count conversion Message-ID: <20100619223524.GA6018@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-Y-GMX-Trusted: 0 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 19 Jun 2010 22:35:30 +0000 (UTC) --- a/drivers/net/lib82596.c +++ b/drivers/net/lib82596.c @@ -1343,7 +1343,7 @@ static void set_multicast_list(struct net_device *dev) DEB(DEB_MULTI, printk(KERN_DEBUG "%s: set multicast list, %d entries, promisc %s, allmulti %s\n", - dev->name, dev->mc_count, + dev->name, netdev_mc_count(dev), dev->flags & IFF_PROMISC ? "ON" : "OFF", dev->flags & IFF_ALLMULTI ? "ON" : "OFF"));