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

[PATCH] drivers_net_pcmcia_fmvj18x_cs.c save_flags unsigned check

  The function save_flags must use an unsigned long parameter instead a
  long (signed) one

  This trivial patch solves the problem
parent 231991f4
......@@ -1254,7 +1254,7 @@ static void set_rx_mode(struct net_device *dev)
ioaddr_t ioaddr = dev->base_addr;
struct local_info_t *lp = (struct local_info_t *)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