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 DC4B0A0096 for ; Mon, 3 Jun 2019 13:26:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D60601B949; Mon, 3 Jun 2019 13:26:43 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 1E1B31B96E; Mon, 3 Jun 2019 13:26:43 +0200 (CEST) In-Reply-To: <45d563dcf5434969cd426e325b8b41ffc0fb85fb.1559553894.git.xuanziyang2@huawei.com> References: <45d563dcf5434969cd426e325b8b41ffc0fb85fb.1559553894.git.xuanziyang2@huawei.com> To: test-report@dpdk.org Cc: Ziyang Xuan Message-Id: <20190603112643.1E1B31B96E@dpdk.org> Date: Mon, 3 Jun 2019 13:26:43 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw54164 [PATCH v3 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/54164 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'wq' - possible side-effects? #1512: 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? #1516: 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, 2399 lines checked