From: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Date: Sat, 30 Apr 2016 23:35:11 +0300
> 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 <a...@arndb.de> > Signed-off-by: Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> Applied.