diff options
author | Tero Kristo <[email protected]> | 2021-07-20 11:47:10 -0700 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2021-07-27 11:10:37 +0300 |
commit | b070f9ca78680486927b799cf6126b128a7c2c1b (patch) | |
tree | 6761604f9ced490876f172b406b9785182a16506 /tools/perf/scripts/python/bin | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
ARM: omap2+: hwmod: fix potential NULL pointer access
omap_hwmod_get_pwrdm() may access a NULL clk_hw pointer in some failure
cases. Add a check for the case and bail out gracely if this happens.
Reported-by: Dan Murphy <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Cc: [email protected] # v5.10+
Signed-off-by: Kevin Hilman <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions