Commit a541bd3a authored by Celso González's avatar Celso González Committed by Linus Torvalds

[PATCH] drivers_net_at1700.c save_flags unsigned check

  The function save_flags must use unsigned long instead long (signed)
  This trivial patch solves the problem
parent 0c87aa01
......@@ -808,7 +808,7 @@ set_rx_mode(struct net_device *dev)
int ioaddr = dev->base_addr;
struct net_local *lp = (struct net_local *)dev->priv;
unsigned char mc_filter[8]; /* Multicast hash filter */
long flags;
unsigned long flags;
int i;
if (dev->flags & IFF_PROMISC) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment