From: Sergei Shtylyov <[email protected]> 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 <[email protected]> > Signed-off-by: Sergei Shtylyov <[email protected]> Applied.
