mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 00:21:32 +00:00
spider_net: Use DECLARE_BITMAP
Use the generic mechanism to declare a bitmap instead of unsigned long. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3f55b7ed5e
commit
e26cc7ff77
@ -604,8 +604,7 @@ spider_net_set_multi(struct net_device *netdev)
|
||||
int i;
|
||||
u32 reg;
|
||||
struct spider_net_card *card = netdev_priv(netdev);
|
||||
unsigned long bitmask[SPIDER_NET_MULTICAST_HASHES / BITS_PER_LONG] =
|
||||
{0, };
|
||||
DECLARE_BITMAP(bitmask, SPIDER_NET_MULTICAST_HASHES) = {};
|
||||
|
||||
spider_net_set_promisc(card);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user