diff options
author | Dan Carpenter <error27@gmail.com> | 2010-07-17 03:21:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-18 18:07:15 -0400 |
commit | 0a6efc78c0c22d60040da0dc98a0844e7c0d0647 (patch) | |
tree | 35239bcfbd1183deec54e7c9c43d2ec92da03e2e /drivers/net/arcnet/capmode.c | |
parent | 8e64159dfb480b30233d947d5a3cd793dfea738f (diff) |
arcnet: fix signed bug in probe function
probe_irq_off() returns the first irq found or if two irqs are found
then it returns the negative of the first irq found. We can cast
dev->irq to an int so that the test for negative values works.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/capmode.c')
0 files changed, 0 insertions, 0 deletions