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

[PATCH] drivers_net_arcnet_arcnet.c save_flags unsigned check

  The function save_flags must use unsigned long instead long (signed)
  This trivial patch solves the problem
parent b9aa5e4d
......@@ -186,7 +186,7 @@ void cleanup_module(void)
void arcnet_dump_skb(struct net_device *dev, struct sk_buff *skb, char *desc)
{
int i;
long flags;
unsigned long flags;
save_flags(flags);
cli();
......@@ -212,7 +212,7 @@ void arcnet_dump_packet(struct net_device *dev, int bufnum, char *desc)
{
struct arcnet_local *lp = (struct arcnet_local *) dev->priv;
int i, length;
long flags;
unsigned long flags;
static uint8_t buf[512];
save_flags(flags);
......
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