Skip to content

Commit

Permalink
perf tests: Remove wrong semicolon in while loop in CQM test
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Matt Fleming <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Fixes: 035827e ("perf tests: Add Intel CQM test")
Link: http://lkml.kernel.org/r/20151214154335.GA1409@x4
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
  • Loading branch information
Markus Trippelsdorf authored and acmel committed Jan 26, 2016
1 parent 45c815f commit cf89813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/perf/arch/x86/tests/intel-cqm.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static pid_t spawn(void)
if (pid)
return pid;

while(1);
while(1)
sleep(5);
return 0;
}
Expand Down

0 comments on commit cf89813

Please sign in to comment.