mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 16:44:10 +08:00
6b08b4ee5e
The rapl_find_package_domain_cpuslocked() function is supposed to
return NULL on error.
This new error patch returns ERR_PTR(-EINVAL) but none of the callers
check for that so it would lead to an Oops.
Fixes:
|
||
---|---|---|
.. | ||
arm_scmi_powercap.c | ||
dtpm_cpu.c | ||
dtpm_devfreq.c | ||
dtpm_subsys.h | ||
dtpm.c | ||
idle_inject.c | ||
intel_rapl_common.c | ||
intel_rapl_msr.c | ||
intel_rapl_tpmi.c | ||
Kconfig | ||
Makefile | ||
powercap_sys.c |