From: Li Xiaoming <lixm.fnst@xxxxxxxxxxxxxx> An error occurred during the build process: src/cyclictest/cyclictest.c:1396:2: error: expected identifier or '(' before 'if' if (option_affinity) { The expected identifier "}" for "if (option_affinity){" occurs in another place. Signed-off-by: Li Xiaoming <lixm.fnst@xxxxxxxxxxxxxx> Signed-off-by: Zhong Lu <zhongl.fnst@xxxxxxxxxxxxxx> - Fixed the indentation of the bracket - Fixed the indentation of the block where NUMA is not defined Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/cyclictest/cyclictest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 188a202c5171..68b3836405c1 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1386,11 +1386,11 @@ static void process_options (int argc, char *argv[], int max_cpus) numa = 1; num_threads = max_cpus; setaffinity = AFFINITY_USEALL; + } #else - warn("cyclictest was not built with the numa option\n"); - numa = 0; + warn("cyclictest was not built with the numa option\n"); + numa = 0; #endif - } } if (option_affinity) { -- 2.20.1