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

[PATCH] drivers_net_pcmcia_smc91c92_cs.c

  The function save_flags must use an unsigned long parameter instead a
  long (signed) one
  This trivial patch solves the problem
parent 8cd672dc
...@@ -1778,7 +1778,7 @@ static void set_rx_mode(struct net_device *dev) ...@@ -1778,7 +1778,7 @@ static void set_rx_mode(struct net_device *dev)
{ {
ioaddr_t ioaddr = dev->base_addr; ioaddr_t ioaddr = dev->base_addr;
u_int multicast_table[ 2 ] = { 0, }; u_int multicast_table[ 2 ] = { 0, };
long flags; unsigned long flags;
u_short rx_cfg_setting; u_short rx_cfg_setting;
if (dev->flags & IFF_PROMISC) { 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