[3.19.y-ckt stable] Patch "perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed" has been added to the 3.19.y-ckt tree

Kamal Mostafa kamal at canonical.com
Tue Feb 9 22:42:33 UTC 2016


This is a note to let you know that I have just added a patch titled

    perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

to the linux-3.19.y-queue branch of the 3.19.y-ckt extended stable tree 
which can be found at:

    http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-queue

This patch is scheduled to be released in version 3.19.8-ckt15.

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.19.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Kamal

---8<------------------------------------------------------------

>From 824a3ea5694aaf5352da4eb7c1b7f0311ac311f1 Mon Sep 17 00:00:00 2001
From: Markus Trippelsdorf <markus at trippelsdorf.de>
Date: Mon, 14 Dec 2015 16:44:03 +0100
Subject: perf annotate browser: Fix behaviour of Shift-Tab with nothing
 focussed

commit d4913cbd05bab685e49c8174896e563b2487d054 upstream.

The issue was pointed out by gcc-6's -Wmisleading-indentation.

Signed-off-by: Markus Trippelsdorf <markus at trippelsdorf.de>
Acked-by: Ingo Molnar <mingo at kernel.org>
Cc: Ben Hutchings <ben at decadent.org.uk>
Cc: Matt Fleming <matt at codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz at infradead.org>
Fixes: c97cf42219b7 ("perf top: Live TUI Annotation")
Link: http://lkml.kernel.org/r/20151214154403.GB1409@x4
Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 tools/perf/ui/browsers/annotate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/ui/browsers/annotate.c b/tools/perf/ui/browsers/annotate.c
index 1e0a2fd..2cc1d01 100644
--- a/tools/perf/ui/browsers/annotate.c
+++ b/tools/perf/ui/browsers/annotate.c
@@ -716,11 +716,11 @@ static int annotate_browser__run(struct annotate_browser *browser,
 				nd = browser->curr_hot;
 			break;
 		case K_UNTAB:
-			if (nd != NULL)
+			if (nd != NULL) {
 				nd = rb_next(nd);
 				if (nd == NULL)
 					nd = rb_first(&browser->entries);
-			else
+			} else
 				nd = browser->curr_hot;
 			break;
 		case K_F1:
--
1.9.1





More information about the kernel-team mailing list