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 AFBA2A0471 for ; Tue, 16 Jul 2019 11:29:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 924BD1B964; Tue, 16 Jul 2019 11:29:32 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id A61031BE0C; Tue, 16 Jul 2019 11:29:24 +0200 (CEST) In-Reply-To: <20190716092826.54276-7-ajit.khaparde@broadcom.com> References: <20190716092826.54276-7-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20190716092924.A61031BE0C@dpdk.org> Date: Tue, 16 Jul 2019 11:29:24 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56484 [PATCH v2 06/15] net/bnxt: correctly set L4 checksum error for tunnel and non-tunnel packets 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/56484 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags2_f' - possible side-effects? #122: FILE: drivers/net/bnxt/bnxt_rxr.h:35: +#define IS_IP_NONTUNNEL_PKT(flags2_f) \ + ( \ + ((flags2_f) == \ + (rte_cpu_to_le_32(RX_PKT_CMPL_FLAGS2_IP_CS_CALC))) || \ + ((flags2_f) == \ + (rte_cpu_to_le_32(RX_PKT_CMPL_FLAGS2_IP_CS_CALC | \ + RX_PKT_CMPL_FLAGS2_L4_CS_CALC))) \ + ) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags2_f' - possible side-effects? #204: FILE: drivers/net/bnxt/bnxt_rxr.h:107: +#define IS_L4_TUNNEL_PKT(flags2_f) \ + ( \ + IS_L4_TUNNEL_PKT_INNER_OUTER_L4_CS(flags2_f) || \ + IS_L4_TUNNEL_PKT_ONLY_INNER_L4_CS(flags2_f) \ + ) total: 0 errors, 0 warnings, 2 checks, 194 lines checked