Skip to content

Commit c04b8bb

Browse files
Markus Trippelsdorfgregkh
authored andcommitted
perf tests: Remove wrong semicolon in while loop in CQM test
commit cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 upstream. The while loop was spinning. Fix by removing a semicolon. The issue was pointed out by gcc-6's -Wmisleading-indentation. Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de> Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk> Acked-by: Ingo Molnar <mingo@kernel.org> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: Peter Zijlstra <peterz@infradead.org> Fixes: 035827e ("perf tests: Add Intel CQM test") Link: http://lkml.kernel.org/r/20151214154335.GA1409@x4 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 1991cbd commit c04b8bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/arch/x86/tests/intel-cqm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static pid_t spawn(void)
1717
if (pid)
1818
return pid;
1919

20-
while(1);
20+
while(1)
2121
sleep(5);
2222
return 0;
2323
}

0 commit comments

Comments
 (0)