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 264AD45A7A for ; Tue, 1 Oct 2024 14:45:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 213B34027E; Tue, 1 Oct 2024 14:45:44 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 7029A4027C for ; Tue, 1 Oct 2024 14:45:42 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 6B7CA121D9E; Tue, 1 Oct 2024 14:45:42 +0200 (CEST) Subject: |WARNING| pw144851 [PATCH v3 14/18] net/cnxk: support Rx burst vector for cn20k In-Reply-To: <20241001124053.3774325-15-ndabilpuram@marvell.com> References: <20241001124053.3774325-15-ndabilpuram@marvell.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Nithin Dabilpuram Message-Id: <20241001124542.6B7CA121D9E@dpdk.org> Date: Tue, 1 Oct 2024 14:45:42 +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/144851 _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