summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-04-30 23:35:11 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-03 22:03:08 +0300
commit6dd745425807dc977bbea810ef703b935002fcc3 (patch)
tree5f634dc6db27e8ab1e466d3217097928a35f6869 /tools/perf/util/scripting-engines/trace-event-python.c
parent3df8f4c6e928685e6fdf72b8d0d25e0c3a61cf7a (diff)
downloadlinux-6dd745425807dc977bbea810ef703b935002fcc3.tar.xz
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions