From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:41527 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754655AbbGQBUL (ORCPT ); Thu, 16 Jul 2015 21:20:11 -0400 Subject: Patch "arc: fix use of uninitialized arc_pmu" has been added to the 4.1-stable tree To: jcmvbkbc@gmail.com, gregkh@linuxfoundation.org, vgupta@synopsys.com Cc: , From: Date: Thu, 16 Jul 2015 18:20:07 -0700 Message-ID: <1437096007189149@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: 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 know about it. >>From 7002f77541f877a5590615ceb3da32b114f14b62 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sun, 14 Jun 2015 02:09:06 +0300 Subject: arc: fix use of uninitialized arc_pmu From: Max Filippov 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. Signed-off-by: Max Filippov Fixes: 03c94fcf954d "ARC: perf: make @arc_pmu static global" Signed-off-by: Vineet Gupta Signed-off-by: Greg Kroah-Hartman --- arch/arc/kernel/perf_event.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/arc/kernel/perf_event.c +++ b/arch/arc/kernel/perf_event.c @@ -266,7 +266,6 @@ static int arc_pmu_add(struct perf_event static 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 jcmvbkbc@gmail.com are queue-4.1/arc-fix-use-of-uninitialized-arc_pmu.patch