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 B5B67A0524 for ; Sun, 26 Jul 2020 05:17:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CB091BFF6; Sun, 26 Jul 2020 05:17:45 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 13D801C025; Sun, 26 Jul 2020 05:17:44 +0200 (CEST) In-Reply-To: <1595733227-428607-1-git-send-email-simei.su@intel.com> References: <1595733227-428607-1-git-send-email-simei.su@intel.com> To: test-report@dpdk.org Cc: Simei Su Message-Id: <20200726031744.13D801C025@dpdk.org> Date: Sun, 26 Jul 2020 05:17:44 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw74809 [PATCH v3] net/ice: fix GTPU down/uplink and extension conflict 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/74809 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects? #204: FILE: drivers/net/ice/ice_ethdev.h:361: +#define ICE_HASH_CFG_VALID(p) \ + ((p)->hash_fld != 0 && (p)->pkt_hdr != 0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects? #207: FILE: drivers/net/ice/ice_ethdev.h:364: +#define ICE_HASH_CFG_RESET(p) do { \ + (p)->hash_fld = 0; \ + (p)->pkt_hdr = 0; \ +} while (0) WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #256: FILE: drivers/net/ice/ice_hash.c:1246: + if ((hdr & ICE_FLOW_SEG_HDR_IPV4) && [...] + pf->gtpu_ctx.ipv4_udp.pkt_hdr = hdr; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #260: FILE: drivers/net/ice/ice_hash.c:1250: + } else if ((hdr & ICE_FLOW_SEG_HDR_IPV6) && [...] + pf->gtpu_ctx.ipv6_udp.pkt_hdr = hdr; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #264: FILE: drivers/net/ice/ice_hash.c:1254: + } else if ((hdr & ICE_FLOW_SEG_HDR_IPV4) && [...] + pf->gtpu_ctx.ipv4_tcp.pkt_hdr = hdr; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #268: FILE: drivers/net/ice/ice_hash.c:1258: + } else if ((hdr & ICE_FLOW_SEG_HDR_IPV6) && [...] + pf->gtpu_ctx.ipv6_tcp.pkt_hdr = hdr; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #272: FILE: drivers/net/ice/ice_hash.c:1262: + } else if ((hdr & ICE_FLOW_SEG_HDR_IPV4) && [...] + pf->gtpu_ctx.ipv4.pkt_hdr = hdr; WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (16, 32) #277: FILE: drivers/net/ice/ice_hash.c:1267: + } else if ((hdr & ICE_FLOW_SEG_HDR_IPV6) && [...] + pf->gtpu_ctx.ipv6.pkt_hdr = hdr; total: 0 errors, 6 warnings, 2 checks, 325 lines checked