net/ethernet: ks8851_mll: signedness bug in ks8851_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Feb 2012 20:44:33 +0000 (20:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Feb 2012 23:57:51 +0000 (18:57 -0500)
commit32aa64f77e032511079fec5ec0465aeb6d6c3891
treeea59097d6ce2c2f9259f7b5b30b17c91b9665a15
parentb203262de63c56393d09e254242b57c002d8619d
net/ethernet: ks8851_mll: signedness bug in ks8851_probe()

netdev->irq is unsigned, so it's never less than zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851_mll.c