Patch "arc: fix use of uninitialized arc_pmu" has been added to the 4.1-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
arc: fix use of uninitialized arc_pmu
to the 4.1-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:
arc-fix-use-of-uninitialized-arc_pmu.patch
and it can be found in the queue-4.1 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
7002f77541f877a5590615ceb3da32b114f14b62Mon Sep 17 00:00:00 2001
From: Max Filippov <[email protected]>
Date: Sun, 14 Jun 2015 02:09:06 +0300
Subject: arc: fix use of uninitialized arc_pmu
From: Max Filippov <[email protected]>
commit 7002f77541f877a5590615ceb3da32b114f14b62 upstream.
static arc_pmu in the arch/arc/kernel/perf_event.c is not initialized as it's shadowed by a local variable of the same name in the arc_pmu_device_probe.
--- arch/arc/kernel/perf_event.c | 1 - 1 file changed, 1 deletion(-)
arch/arc/kernel/perf_event.c +0 -1
@@ -266,7 +266,6 @@ static int arc_pmu_add(struct perf_eventstatic int arc_pmu_device_probe (struct platform_device *pdev) { -struct arc_pmu *arc_pmu;struct arc_reg_pct_build pct_bcr;struct arc_reg_cc_build cc_bcr;int i, j, ret;
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/arc-fix-use-of-uninitialized-arc_pmu.patch