Browse Source

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>
Wan ZongShun 15 years ago
parent
commit
ddb1417529
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/net/arm/w90p910_ether.c

+ 2 - 2
drivers/net/arm/w90p910_ether.c

@@ -160,8 +160,8 @@ struct  w90p910_ether {
 	struct mii_if_info mii;
 	struct mii_if_info mii;
 	struct timer_list check_timer;
 	struct timer_list check_timer;
 	void __iomem *reg;
 	void __iomem *reg;
-	unsigned int rxirq;
-	unsigned int txirq;
+	int rxirq;
+	int txirq;
 	unsigned int cur_tx;
 	unsigned int cur_tx;
 	unsigned int cur_rx;
 	unsigned int cur_rx;
 	unsigned int finish_tx;
 	unsigned int finish_tx;