diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-09-07 11:25:58 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-09-22 23:00:07 +0300 |
commit | cec4a609a88823084bf09cb2cdacda63a363593a (patch) | |
tree | 682695287063726c9a81935309890b19ce49aef9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4630ef134e41389a7170b05790c0ddcd88977b01 (diff) | |
download | linux-cec4a609a88823084bf09cb2cdacda63a363593a.tar.xz |
clk: ti: autoidle: add checks against NULL pointer reference
The clk pointer passed to omap2_clk_(deny|allow)_idle can be NULL, so
add checks for this.
Reported-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lore.kernel.org/r/20200907082600.454-2-t-kristo@ti.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions