Revision 6dd745425807dc977bbea810ef703b935002fcc3 authored by Sergei Shtylyov on 30 April 2016, 20:35:11 UTC, committed by David S. Miller on 03 May 2016, 19:03:08 UTC
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>
1 parent 3df8f4c
History
File Mode Size
other
Makefile -rw-r--r-- 374 bytes
cs8427.c -rw-r--r-- 18.3 KB
i2c.c -rw-r--r-- 8.3 KB
tea6330t.c -rw-r--r-- 11.3 KB

back to top