summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-25 15:52:02 +0300
committerStephen Boyd <sboyd@codeaurora.org>2016-01-30 03:57:09 +0300
commit8d0a69d735318cbd99c1376d16ed7ff82a7a678e (patch)
tree5ca448bddf64351d7b0cbbd66dc8f203d9199507 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent93fffbbee11af1ff9658c2822cfd355b4f16243d (diff)
downloadlinux-8d0a69d735318cbd99c1376d16ed7ff82a7a678e.tar.xz
clk: palmas: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer dereference later. Even if the probability of this case is very low, fixing it made static analyzers happy. Solving this with of_device_get_match_data made also code simplier. Reported-by: coverity (CID 1324137) Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions