Re: [PATCH] net: Fix checks on unsigned in w90p910_ether_probe()
From: David Miller <davem@davemloft.net>
Date: 2009-10-30 06:06:00
From: David Miller <davem@davemloft.net>
Date: 2009-10-30 06:06:00
From: Roel Kluin <redacted> Date: Tue, 20 Oct 2009 20:14:36 +0200
ether->txirq and ->rxirq are unsigned Signed-off-by: Roel Kluin <redacted>
platform_get_irq() returns a signed int so the intention is more likely that catching negative value returns was intended. Probably the correct fix is to mark txirq and rxirq as plain 'int'.