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 5A451A0548 for ; Thu, 1 Apr 2021 17:07:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53B1514116E; Thu, 1 Apr 2021 17:07:06 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id CD8D0140EE8 for ; Thu, 1 Apr 2021 17:07:05 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id C48F9121321; Thu, 1 Apr 2021 17:07:05 +0200 (CEST) In-Reply-To: <20210401150517.234085-1-anatoly.burakov@intel.com> References: <20210401150517.234085-1-anatoly.burakov@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Anatoly Burakov Message-Id: <20210401150705.C48F9121321@dpdk.org> Date: Thu, 1 Apr 2021 17:07:05 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw90432 [PATCH 21.08] power: refactor pstate sysfs handling 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/90432 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #93: 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, 475 lines checked