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 D0C1445A3A for ; Thu, 26 Sep 2024 18:09:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7D1A4067E; Thu, 26 Sep 2024 18:09:01 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id CC3ED4067E for ; Thu, 26 Sep 2024 18:09:00 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id C8C2A121D9E; Thu, 26 Sep 2024 18:09:00 +0200 (CEST) Subject: |WARNING| pw144472 [PATCH v2 14/18] net/cnxk: support Rx burst vector for cn20k In-Reply-To: <20240926160158.3206321-15-ndabilpuram@marvell.com> References: <20240926160158.3206321-15-ndabilpuram@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20240926160900.C8C2A121D9E@dpdk.org> Date: Thu, 26 Sep 2024 18:09:00 +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/144472 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mbuf' - possible side-effects? #123: FILE: drivers/net/cnxk/cn20k_rx.h:447: +#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p) \ + do { \ + *(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf; \ + *(_loff_p) = *(_loff_p) + 1; \ + /* Mark meta mbuf as put */ \ + RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0); \ + } while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse '_loff_p' - possible side-effects? #123: FILE: drivers/net/cnxk/cn20k_rx.h:447: +#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p) \ + do { \ + *(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf; \ + *(_loff_p) = *(_loff_p) + 1; \ + /* Mark meta mbuf as put */ \ + RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0); \ + } while (0) CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #223: FILE: drivers/net/cnxk/cn20k_rx.h:547: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #225: FILE: drivers/net/cnxk/cn20k_rx.h:549: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #227: FILE: drivers/net/cnxk/cn20k_rx.h:551: + rte_prefetch0( CHECK:OPEN_ENDED_LINE: Lines should not end with a '(' #229: FILE: drivers/net/cnxk/cn20k_rx.h:553: + rte_prefetch0( total: 0 errors, 0 warnings, 6 checks, 475 lines checked