diff options
| author | Markus Trippelsdorf <markus@trippelsdorf.de> | 2015-12-14 10:43:35 -0500 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-01-26 09:14:06 -0500 |
| commit | cf89813a5b514bff9b3b5e7eaf2090f22fba62e0 (patch) | |
| tree | e66f2072ca075ad3aaf0c56607715edbe654c3ec | |
| parent | 45c815f06b80031659c63d7b93e580015d6024dd (diff) | |
perf tests: Remove wrong semicolon in while loop in CQM test
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: 035827e9f2bd ("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>
| -rw-r--r-- | tools/perf/arch/x86/tests/intel-cqm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/arch/x86/tests/intel-cqm.c b/tools/perf/arch/x86/tests/intel-cqm.c index 3e89ba825f6b..7f064eb37158 100644 --- a/tools/perf/arch/x86/tests/intel-cqm.c +++ b/tools/perf/arch/x86/tests/intel-cqm.c | |||
| @@ -17,7 +17,7 @@ static pid_t spawn(void) | |||
| 17 | if (pid) | 17 | if (pid) |
| 18 | return pid; | 18 | return pid; |
| 19 | 19 | ||
| 20 | while(1); | 20 | while(1) |
| 21 | sleep(5); | 21 | sleep(5); |
| 22 | return 0; | 22 | return 0; |
| 23 | } | 23 | } |
