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

[PATCH] drivers_net_3c505.c save_flags unsigned check

  The function save_flags must use unsigned long instead long (signed)
  This trivial patch solves the problem
parent 1953e4b5
...@@ -1396,7 +1396,7 @@ static int __init elp_sense(struct net_device *dev) ...@@ -1396,7 +1396,7 @@ static int __init elp_sense(struct net_device *dev)
int timeout; int timeout;
int addr = dev->base_addr; int addr = dev->base_addr;
const char *name = dev->name; const char *name = dev->name;
long flags; unsigned long flags;
byte orig_HSR; byte orig_HSR;
if (!request_region(addr, ELP_IO_EXTENT, "3c505")) if (!request_region(addr, ELP_IO_EXTENT, "3c505"))
......
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