diff options
author | 2018-06-21 11:06:41 +0300 | |
---|---|---|
committer | 2018-06-24 23:00:36 +0200 | |
commit | 1dd2058f902eb2d8bd5bedab0b190a21d5245e71 (patch) | |
tree | aa3907846de459b2010d51affc42bbffa0e62baf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.18-rc2 (diff) | |
download | linux-dev-1dd2058f902eb2d8bd5bedab0b190a21d5245e71.tar.xz linux-dev-1dd2058f902eb2d8bd5bedab0b190a21d5245e71.zip |
cpufreq: qcom-kryo: Fix error handling in probe()
We should return if get_cpu_device() fails or it leads to a NULL
dereference. Also dev_pm_opp_of_get_opp_desc_node() returns NULL on
error, it never returns error pointers.
Fixes: 46e2856b8e18 (cpufreq: Add Kryo CPU scaling driver)
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions