Skip to contentSkip to conversation

Patch "perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jul 13, 2017

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

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

to the 4.4-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:
perf-annotate-browser-fix-behaviour-of-shift-tab-with-nothing-focussed.patch
and it can be found in the queue-4.4 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 d4913cbd05bab685e49c8174896e563b2487d054 Mon Sep 17 00:00:00 2001

From: Markus Trippelsdorf <[email protected]>
Date: Mon, 14 Dec 2015 16:44:03 +0100
Subject: perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

From: Markus Trippelsdorf <[email protected]>

commit d4913cbd05bab685e49c8174896e563b2487d054 upstream.

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

---
 tools/perf/ui/browsers/annotate.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/ui/browsers/annotate.c +2 -2
@@ -755,11 +755,11 @@ static int annotate_browser__run(struct
 				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:

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

queue-4.4/perf-tests-remove-wrong-semicolon-in-while-loop-in-cqm-test.patch queue-4.4/perf-annotate-browser-fix-behaviour-of-shift-tab-with-nothing-focussed.patch queue-4.4/x86-tools-fix-gcc-7-warning-in-relocs.c.patch queue-4.4/perf-pmu-fix-misleadingly-indented-assignment-whitespace.patch