From: Helge Deller Date: Mon, 21 Jun 2010 20:50:18 +0000 (-0700) Subject: lasi82596: fix netdev_mc_count conversion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=13fea6d4f73942e6961aec97ba4c593619d18f6f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git lasi82596: fix netdev_mc_count conversion Fix commit 4cd24eaf0 (net: use netdev_mc_count and netdev_mc_empty when appropriate) Signed-off-by: Helge Deller Signed-off-by: David S. Miller --- diff --git a/drivers/net/lib82596.c b/drivers/net/lib82596.c index ce5d6e909218..c27f4291b350 100644 --- 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"));