aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm
diff options
context:
space:
mode:
authorWan ZongShun <mcuos.com@gmail.com>2009-11-10 23:35:22 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-13 23:38:50 -0500
commitddb1417529559810ec2024fd8ca21e4d497a3275 (patch)
tree33c80c334eb8a96a601135e238f63ce3454c8f2f /drivers/net/arm
parent6baff15037693c057e3047da02c460c7e7b346c2 (diff)
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')
-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 {
160 struct mii_if_info mii; 160 struct mii_if_info mii;
161 struct timer_list check_timer; 161 struct timer_list check_timer;
162 void __iomem *reg; 162 void __iomem *reg;
163 unsigned int rxirq; 163 int rxirq;
164 unsigned int txirq; 164 int txirq;
165 unsigned int cur_tx; 165 unsigned int cur_tx;
166 unsigned int cur_rx; 166 unsigned int cur_rx;
167 unsigned int finish_tx; 167 unsigned int finish_tx;