Skip to contentSkip to conversation

Patch "perf tests: Remove wrong semicolon in while loop in CQM test" 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 tests: Remove wrong semicolon in while loop in CQM test

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-tests-remove-wrong-semicolon-in-while-loop-in-cqm-test.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 cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 Mon Sep 17 00:00:00 2001

From: Markus Trippelsdorf <[email protected]>
Date: Mon, 14 Dec 2015 16:43:35 +0100
Subject: perf tests: Remove wrong semicolon in while loop in CQM test

From: Markus Trippelsdorf <[email protected]>

commit cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 upstream.

The while loop was spinning. Fix by removing a semicolon.

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

---
 tools/perf/arch/x86/tests/intel-cqm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/arch/x86/tests/intel-cqm.c +1 -1
@@ -17,7 +17,7 @@ static pid_t spawn(void)
 	if (pid)
 		return pid;
 
-	while(1);
+	while(1)
 		sleep(5);
 	return 0;
 }

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