au1000_eth: possible NULL dereference of aup->mii_bus->irq in au1000_probe()
commitdcbfef820bdd1cdb412ccf234840e23edf67014f
authorroel kluin <roel.kluin@gmail.com>
Sun, 30 Aug 2009 22:40:15 +0000 (30 22:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 00:40:56 +0000 (1 17:40 -0700)
treea8fa09b17f0a9e573f859b558ebcebb0ba9ea572
parent5d7892298a819743b3892df08bb496992fe85951
au1000_eth: possible NULL dereference of aup->mii_bus->irq in au1000_probe()

aup->mii_bus->irq allocation may fail, prevent a dereference of NULL.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/au1000_eth.c