Skip to content
Commit 7dfe37e9 authored by Shawn Guo's avatar Shawn Guo Committed by Greg Kroah-Hartman
Browse files

cpufreq: qcom-hw: fix dereferencing freed memory 'data'

[ Upstream commit 02fc4095 ]

Commit 67fc209b ("cpufreq: qcom-hw: drop devm_xxx() calls from
init/exit hooks") introduces an issue of dereferencing freed memory
'data'.  Fix it.

Fixes: 67fc209b

 ("cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 75d9be57
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment