mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-03 03:33:01 +09:00
perf tests: Remove wrong semicolon in while loop in CQM test
commitcf89813a5bupstream. 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:035827e9f2("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1991cbd2c4
commit
c04b8bbd64
@@ -17,7 +17,7 @@ static pid_t spawn(void)
|
||||
if (pid)
|
||||
return pid;
|
||||
|
||||
while(1);
|
||||
while(1)
|
||||
sleep(5);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user