diff options
| author | 2020-01-06 12:05:58 +0000 | |
|---|---|---|
| committer | 2020-01-07 11:57:45 +0100 | |
| commit | 5aa0c467519ccd862678a15885026660c271b5b0 (patch) | |
| tree | 674a164a6bb2099bf448d334135753fe09da119b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | power: avs: qcom-cpr: make cpr_get_opp_hz_for_req() static (diff) | |
| download | linux-dev-5aa0c467519ccd862678a15885026660c271b5b0.tar.xz linux-dev-5aa0c467519ccd862678a15885026660c271b5b0.zip | |
power: avs: fix uninitialized error return on failed cpr_read_fuse_uV() call
Currently when the call cpr_read_fuse_uV returns an error the value in the
uninitialized variable ret is returned. Fix this by instread returning the
error value in the variable uV.
Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: bf6910abf548 ("power: avs: Add support for CPR (Core Power Reduction)")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
