From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 98F961B91A; Fri, 29 Jun 2018 20:14:45 +0200 (CEST) In-Reply-To: <1732118468c605f88826746a2e0b59f51927a40e.1530295732.git.rahul.lakkireddy@chelsio.com> References: <1732118468c605f88826746a2e0b59f51927a40e.1530295732.git.rahul.lakkireddy@chelsio.com> To: test-report@dpdk.org Cc: Rahul Lakkireddy Message-Id: <20180629181445.98F961B91A@dpdk.org> Date: Fri, 29 Jun 2018 20:14:45 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw41991 [4/9] net/cxgbe: add support to offload flows to HASH region 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: , X-List-Received-Date: Fri, 29 Jun 2018 18:14:45 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/41991 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'w' - possible side-effects? #650: FILE: drivers/net/cxgbe/cxgbe_ofld.h:13: +#define INIT_TP_WR(w, tid) do { \ + (w)->wr.wr_hi = cpu_to_be32(V_FW_WR_OP(FW_TP_WR) | \ + V_FW_WR_IMMDLEN(sizeof(*w) - sizeof(w->wr))); \ + (w)->wr.wr_mid = cpu_to_be32( \ + V_FW_WR_LEN16(DIV_ROUND_UP(sizeof(*w), 16)) | \ + V_FW_WR_FLOWID(tid)); \ + (w)->wr.wr_lo = cpu_to_be64(0); \ +} while (0) total: 0 errors, 0 warnings, 1 checks, 598 lines checked