diff options
| author | Stephen Boyd <[email protected]> | 2015-07-06 16:48:19 -0700 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2015-07-07 17:20:03 -0700 |
| commit | 2e3b19f137f31290979999ff7ac67ce52e02be0e (patch) | |
| tree | 5352ee3fb7599ee804129546b816522bd4c3caee /tools/perf/scripts/python/bin | |
| parent | ca7d07a22a28bcd558b200329bfa322c9ffd7c54 (diff) | |
clk: Check for allocation errors in of_clk_init()
Dan Carpenter reports that we don't check the allocation here for
failure. Add a failure check and free any previously allocated
providers from the clk_provider_list.
Reported-by: Dan Carpenter <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions