Skip to contentSkip to conversation

Patch "cpufreq: dt: Add terminate entry for of_device_id tables" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Sep 12, 2016

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

cpufreq: dt: Add terminate entry for of_device_id tables

to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
cpufreq-dt-add-terminate-entry-for-of_device_id-tables.patch
and it can be found in the queue-4.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From bd37e022e334757a5dc1dae41baa29e16befe4ec Mon Sep 17 00:00:00 2001

From: Wei Yongjun <[email protected]>
Date: Sun, 21 Aug 2016 15:41:44 +0000
Subject: cpufreq: dt: Add terminate entry for of_device_id tables

From: Wei Yongjun <[email protected]>

commit bd37e022e334757a5dc1dae41baa29e16befe4ec upstream.

Make sure of_device_id tables are NULL terminated.

Fixes f56aad1d98f1 (cpufreq: dt: Add generic platform-device creation support)
---
 drivers/cpufreq/cpufreq-dt-platdev.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/cpufreq/cpufreq-dt-platdev.c +2 -0
@@ -74,6 +74,8 @@ static const struct of_device_id machine
 	{ .compatible = "ti,omap5", },
 
 	{ .compatible = "xlnx,zynq-7000", },
+
+	{ }
 };
 
 static int __init cpufreq_dt_platdev_init(void)

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/cpufreq-dt-add-terminate-entry-for-of_device_id-tables.patch