Skip to content

Commit 4d31079

Browse files
committed
Merge tag 'pm-6.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fix from Rafael Wysocki: "This adds a terminating NULL entry to an of_device_id table in the qcom-nvmem cpufreq driver to avoid out-of-bounds access (Pei Xiao)" * tag 'pm-6.19-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: cpufreq: qcom-nvmem: add sentinel to qcom_cpufreq_ipq806x_match_list
2 parents e9f6ac9 + 1730daa commit 4d31079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/cpufreq/qcom-cpufreq-nvmem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ static const struct of_device_id qcom_cpufreq_ipq806x_match_list[] __maybe_unuse
263263
{ .compatible = "qcom,ipq8066", .data = (const void *)QCOM_ID_IPQ8066 },
264264
{ .compatible = "qcom,ipq8068", .data = (const void *)QCOM_ID_IPQ8068 },
265265
{ .compatible = "qcom,ipq8069", .data = (const void *)QCOM_ID_IPQ8069 },
266+
{ /* sentinel */ }
266267
};
267268

268269
static int qcom_cpufreq_ipq8064_name_version(struct device *cpu_dev,

0 commit comments

Comments
 (0)