diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-31 16:46:34 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-11-11 07:10:03 +0300 |
commit | db01e46689e9a986ca6b5d2f41b57d7a81551a4f (patch) | |
tree | cf9f52a9a398d2365ceb8c32712d4468664b8805 /tools/perf/scripts/python | |
parent | 8c776a54d9ef3e945db2fe407ad6ad4525422943 (diff) | |
download | linux-db01e46689e9a986ca6b5d2f41b57d7a81551a4f.tar.xz |
cpufreq: loongson3: Check for error code from devm_mutex_init() call
Even if it's not critical, the avoidance of checking the error code
from devm_mutex_init() call today diminishes the point of using devm
variant of it. Tomorrow it may even leak something. Add the missed
check.
Fixes: ccf51454145b ("cpufreq: Add Loongson-3 CPUFreq driver support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions