summaryrefslogtreecommitdiff
path: root/drivers/net/arm/w90p910_ether.c
diff options
context:
space:
mode:
authorWan ZongShun <mcuos.com@gmail.com>2009-11-11 07:35:22 +0300
committerDavid S. Miller <davem@davemloft.net>2009-11-14 07:38:50 +0300
commitddb1417529559810ec2024fd8ca21e4d497a3275 (patch)
tree33c80c334eb8a96a601135e238f63ce3454c8f2f /drivers/net/arm/w90p910_ether.c
parent6baff15037693c057e3047da02c460c7e7b346c2 (diff)
downloadlinux-ddb1417529559810ec2024fd8ca21e4d497a3275.tar.xz
ARM: fix bug of checking on signed return value using unsigned statement in w90p910 platform
To fix the bug of checking on signed return value using unsigned statement. Thanks Roel Kluin for digging out it. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arm/w90p910_ether.c')
-rw-r--r--drivers/net/arm/w90p910_ether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/arm/w90p910_ether.c b/drivers/net/arm/w90p910_ether.c
index 25e2627eb118..b7f3866d546f 100644
--- a/drivers/net/arm/w90p910_ether.c
+++ b/drivers/net/arm/w90p910_ether.c
@@ -160,8 +160,8 @@ struct w90p910_ether {
struct mii_if_info mii;
struct timer_list check_timer;
void __iomem *reg;
- unsigned int rxirq;
- unsigned int txirq;
+ int rxirq;
+ int txirq;
unsigned int cur_tx;
unsigned int cur_rx;
unsigned int finish_tx;