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 8D563A00E6 for ; Fri, 12 Jul 2019 08:08:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 82F201BE08; Fri, 12 Jul 2019 08:08:19 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 7E0E71B9F6; Fri, 12 Jul 2019 08:08:16 +0200 (CEST) In-Reply-To: <20190712060622.76975-7-ajit.khaparde@broadcom.com> References: <20190712060622.76975-7-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20190712060816.7E0E71B9F6@dpdk.org> Date: Fri, 12 Jul 2019 08:08:16 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw56372 [PATCH 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/56372 _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