diff options
| author | Andy Shevchenko <[email protected]> | 2024-10-31 13:46:34 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2024-11-11 04:10:03 +0000 |
| commit | db01e46689e9a986ca6b5d2f41b57d7a81551a4f (patch) | |
| tree | cf9f52a9a398d2365ceb8c32712d4468664b8805 /drivers/cpufreq/cppc_cpufreq.c | |
| parent | cpufreq: scmi: Fix cleanup path when boost enablement fails (diff) | |
| download | kernel-db01e46689e9a986ca6b5d2f41b57d7a81551a4f.tar.gz kernel-db01e46689e9a986ca6b5d2f41b57d7a81551a4f.zip | |
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 <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions
