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 CB561A09F6 for ; Fri, 18 Dec 2020 10:45:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 99340CAC5; Fri, 18 Dec 2020 10:45:19 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 08E13CABF; Fri, 18 Dec 2020 10:45:19 +0100 (CET) In-Reply-To: <20201218093702.3651867-31-jiawenwu@trustnetic.com> References: <20201218093702.3651867-31-jiawenwu@trustnetic.com> To: test-report@dpdk.org Cc: Jiawen Wu Message-Id: <20201218094519.08E13CABF@dpdk.org> Date: Fri, 18 Dec 2020 10:45:19 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw85438 [PATCH v3 30/33] net/txgbe: add security session create operation 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/85438 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects? #113: FILE: drivers/net/txgbe/txgbe_ipsec.c:13: +#define CMP_IP(a, b) (\ + (a).ipv6[0] == (b).ipv6[0] && \ + (a).ipv6[1] == (b).ipv6[1] && \ + (a).ipv6[2] == (b).ipv6[2] && \ + (a).ipv6[3] == (b).ipv6[3]) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b' - possible side-effects? #113: FILE: drivers/net/txgbe/txgbe_ipsec.c:13: +#define CMP_IP(a, b) (\ + (a).ipv6[0] == (b).ipv6[0] && \ + (a).ipv6[1] == (b).ipv6[1] && \ + (a).ipv6[2] == (b).ipv6[2] && \ + (a).ipv6[3] == (b).ipv6[3]) CHECK:CAMELCASE: Avoid CamelCase: #187: FILE: drivers/net/txgbe/txgbe_ipsec.c:87: + if (ic_session->dst_ip.type == IPv6) { CHECK:CAMELCASE: Avoid CamelCase: #190: FILE: drivers/net/txgbe/txgbe_ipsec.c:90: + } else if (ic_session->dst_ip.type == IPv4) { total: 0 errors, 0 warnings, 4 checks, 367 lines checked