From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 359ABA046B for ; Wed, 29 May 2019 05:38:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 215D21B947; Wed, 29 May 2019 05:38:57 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 5E8261B949; Wed, 29 May 2019 05:38:55 +0200 (CEST) In-Reply-To: References: To: test-report@dpdk.org Cc: Ziyang Xuan Message-Id: <20190529033855.5E8261B949@dpdk.org> Date: Wed, 29 May 2019 05:38:55 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw53787 [PATCH v2 02/11] net/hinic/base: add command channels code 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/53787 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wq' - possible side-effects? #1515: FILE: drivers/net/hinic/base/hinic_pmd_cmdq.c:153: +#define WQE_NUM_WQEBBS(wqe_size, wq) \ + ((u16)(ALIGN((u32)(wqe_size), \ + (wq)->wqebb_size) / (wq)->wqebb_size)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'cmdq' - possible side-effects? #1519: FILE: drivers/net/hinic/base/hinic_pmd_cmdq.c:157: +#define cmdq_to_cmdqs(cmdq) container_of((cmdq) - (cmdq)->cmdq_type, \ + struct hinic_cmdqs, cmdq[0]) total: 0 errors, 0 warnings, 2 checks, 2403 lines checked