Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731AbbLNPnl (ORCPT ); Mon, 14 Dec 2015 10:43:41 -0500 Received: from ud10.udmedia.de ([194.117.254.50]:36881 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbbLNPnj (ORCPT ); Mon, 14 Dec 2015 10:43:39 -0500 Date: Mon, 14 Dec 2015 16:43:35 +0100 From: Markus Trippelsdorf To: Arnaldo Carvalho de Melo Cc: Matt Fleming , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra Subject: [PATCH 1/3] Remove wrong semicolon in while loop Message-ID: <20151214154335.GA1409@x4> References: <20151212180702.GA753@x4> <20151214104607.GA2571@codeblueprint.co.uk> <20151214151449.GH6843@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151214151449.GH6843@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 875 Lines: 28 The while loop was spinning. Fix by removing a semicolon. The issue was pointed out by gcc-6's -Wmisleading-indentation. Reviewed-by: Matt Fleming Acked-by: Ingo Molnar Signed-off-by: Markus Trippelsdorf diff --git a/tools/perf/arch/x86/tests/intel-cqm.c b/tools/perf/arch/x86/tests/intel-cqm.c index d28c1b6a3b54..fa5d17af88b7 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) if (pid) return pid; - while(1); + while(1) sleep(5); return 0; } -- Markus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/