gianfar: fix signedness issue
authorNicolas Kaiser <nikai@nikai.net>
Mon, 15 Nov 2010 10:59:42 +0000 (10:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2010 20:39:54 +0000 (12:39 -0800)
commit28cb6ccd2c7e86b3a4db94c7062cd27937bed424
tree062200bdbf581b3f1dda656de1f13152d6b82d84
parent870634b0b641271acb2e22df06ddda0c794b89a3
gianfar: fix signedness issue

irq_of_parse_and_map() has an unsigned return type.
Testing for a negative error value doesn't work here.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c