From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91158A034F for ; Tue, 30 Mar 2021 16:16:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8436B140E37; Tue, 30 Mar 2021 16:16:31 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id A2D9E140E35 for ; Tue, 30 Mar 2021 16:16:30 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 8893B121321; Tue, 30 Mar 2021 16:16:30 +0200 (CEST) In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Anatoly Burakov Message-Id: <20210330141630.8893B121321@dpdk.org> Date: Tue, 30 Mar 2021 16:16:30 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw90110 [PATCH 1/3] power: refactor base frequency detection X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/90110 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #102: FILE: lib/librte_power/power_pstate_cpufreq.c:40: +#define FOPEN_OR_ERR_GOTO(f, label) do { \ + if ((f) == NULL) { \ + RTE_LOG(ERR, POWER, "File not opened "); \ + goto label; \ + } \ +} while (0) total: 0 errors, 1 warnings, 225 lines checked