diff options
author | Tero Kristo <[email protected]> | 2020-09-07 11:25:58 +0300 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-09-22 13:00:07 -0700 |
commit | cec4a609a88823084bf09cb2cdacda63a363593a (patch) | |
tree | 682695287063726c9a81935309890b19ce49aef9 /lib/test_overflow.c | |
parent | 4630ef134e41389a7170b05790c0ddcd88977b01 (diff) |
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 <[email protected]>
Signed-off-by: Tero Kristo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions