From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8052945B09 for ; Thu, 10 Oct 2024 21:44:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BC39402D4; Thu, 10 Oct 2024 21:44:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 8AB224028E for ; Thu, 10 Oct 2024 21:44:43 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 847A81206AA; Thu, 10 Oct 2024 21:44:43 +0200 (CEST) Subject: |WARNING| pw145684 [PATCH dpdk v3 04/17] net: add ipv6 address utilities In-Reply-To: <20241010194148.1877659-5-rjarry@redhat.com> References: <20241010194148.1877659-5-rjarry@redhat.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Robin Jarry Message-Id: <20241010194443.847A81206AA@dpdk.org> Date: Thu, 10 Oct 2024 21:44:43 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/145684 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #354: FILE: lib/net/rte_ip6.h:140: +#define RTE_IPV6_U16_SPLIT(x) (uint8_t)(x), (uint8_t)((uint16_t)(x) >> 8) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #356: FILE: lib/net/rte_ip6.h:142: +#define RTE_IPV6_U16_SPLIT(x) (uint8_t)((uint16_t)(x) >> 8), (uint8_t)(x) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #388: FILE: lib/net/rte_ip6.h:174: +#define RTE_IPV6_ADDR_SPLIT(ip) \ + ((uint8_t)(ip)->a[0]), \ + ((uint8_t)(ip)->a[1]), \ + ((uint8_t)(ip)->a[2]), \ + ((uint8_t)(ip)->a[3]), \ + ((uint8_t)(ip)->a[4]), \ + ((uint8_t)(ip)->a[5]), \ + ((uint8_t)(ip)->a[6]), \ + ((uint8_t)(ip)->a[7]), \ + ((uint8_t)(ip)->a[8]), \ + ((uint8_t)(ip)->a[9]), \ + ((uint8_t)(ip)->a[10]), \ + ((uint8_t)(ip)->a[11]), \ + ((uint8_t)(ip)->a[12]), \ + ((uint8_t)(ip)->a[13]), \ + ((uint8_t)(ip)->a[14]), \ + ((uint8_t)(ip)->a[15]) total: 3 errors, 0 warnings, 308 lines checked