Skip to contentSkip to conversation

ARM: fix bug of checking on signed return value using unsigned statement in w90p910 platform

PATCH New Wan ZongShun 1 participant 1 message Nov 11, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: fix bug of checking on signed return value using unsigned statement in w90p910 platform

Dear sir,

To fix the bug of checking on signed return value using unsigned statement. Thanks Roel Kluin for digging out it.

---
 drivers/net/arm/w90p910_ether.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/arm/w90p910_ether.c +2 -2
index 25e2627..b7f3866 100644
@@ -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;
Signature · 1 line
1.5.6.3