Sergei Shtylyov 6dd7454258 pxa168_eth: fix mdiobus_scan() error check
Since mdiobus_scan() returns either an error code or NULL on error, the
driver should check  for both,  not only for NULL, otherwise a crash is
imminent...

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-03 15:03:08 -04:00
..
2016-03-18 23:14:15 -04:00
2016-03-10 10:30:21 +01:00
2016-03-17 21:05:01 -04:00
2016-03-23 14:35:31 -04:00
2016-04-21 15:40:13 +03:00
2016-03-13 22:08:01 -04:00
2016-03-17 21:05:01 -04:00
2016-03-13 22:40:24 -04:00
2016-04-08 15:52:45 -04:00
2016-03-01 15:54:31 -05:00
2016-04-11 15:56:20 -04:00