diff options
author | Brian Norris <[email protected]> | 2015-12-16 10:35:03 -0800 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2015-12-31 21:54:45 -0800 |
commit | 0b2e78865d92e2d70542cb1d4d7af1d4ea0a286d (patch) | |
tree | 2c410f51420be70bb3f232af460f95c56708fadd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c76eb11c8f0bae27aa4db9a18031a497ba6e2636 (diff) |
clk: gpio: handle error codes for of_clk_get_parent_count()
We might make bad memory allocations if we get (e.g.) -ENOSYS from
of_clk_get_parent_count().
Noticed by Coverity.
Fixes: f66541ba02d5 ("clk: gpio: Get parent clk names in of_gpio_clk_setup()")
Signed-off-by: Brian Norris <[email protected]>
Cc: Jyri Sarha <[email protected]>
Cc: Sergej Sawazki <[email protected]>
Cc: Stephen Boyd <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions