From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1D462A00C5 for ; Thu, 11 Jun 2020 12:11:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F42041BE3D; Thu, 11 Jun 2020 12:11:40 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 13FCD1BE83; Thu, 11 Jun 2020 12:11:40 +0200 (CEST) In-Reply-To: <1591870283-7776-2-git-send-email-radu.nicolau@intel.com> References: <1591870283-7776-2-git-send-email-radu.nicolau@intel.com> To: test-report@dpdk.org Cc: Radu Nicolau Message-Id: <20200611101140.13FCD1BE83@dpdk.org> Date: Thu, 11 Jun 2020 12:11:40 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw71264 [PATCH v1 2/2] net/i40e: use movdiri to update queue tail registers X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 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/71264 _coding style issues_ CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'queue' may be better as '(queue)' to avoid precedence issues #82: FILE: drivers/net/i40e/base/i40e_osdep.h:142: +#define I40E_PCI_REG_WC_WRITE(queue, reg, value, ...) \ + do { \ + uint32_t val = rte_cpu_to_le_32(value); \ + volatile void *addr = reg; \ + if (queue->use_movdiri) \ + rte_write32_wc(val, addr); \ + else \ + rte_write32##__VA_ARGS__(val, addr); \ + } while (0) total: 0 errors, 0 warnings, 1 checks, 159 lines checked