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 C75454649D for ; Fri, 28 Mar 2025 06:16:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8687E40678; Fri, 28 Mar 2025 06:16:40 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 717FB40677 for ; Fri, 28 Mar 2025 06:16:39 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id C5CB4123E9B; Fri, 28 Mar 2025 06:16:15 +0100 (CET) Subject: |WARNING| pw152638 [PATCH v17 08/29] net/rnp: add queue setup and release operations In-Reply-To: <20250328051444.1019208-9-caowenbo@mucse.com> References: <20250328051444.1019208-9-caowenbo@mucse.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Wenbo Cao Message-Id: <20250328051615.C5CB4123E9B@dpdk.org> Date: Fri, 28 Mar 2025 06:16:15 +0100 (CET) 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/152638 _coding style issues_ WARNING:MEMORY_BARRIER: memory barrier without comment #168: FILE: drivers/net/rnp/base/rnp_bdq_if.c:35: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #183: FILE: drivers/net/rnp/base/rnp_bdq_if.c:50: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #186: FILE: drivers/net/rnp/base/rnp_bdq_if.c:53: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #199: FILE: drivers/net/rnp/base/rnp_bdq_if.c:66: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #222: FILE: drivers/net/rnp/base/rnp_bdq_if.c:89: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #225: FILE: drivers/net/rnp/base/rnp_bdq_if.c:92: + wmb(); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #234: FILE: drivers/net/rnp/base/rnp_bdq_if.c:101: + udelay(10); WARNING:MEMORY_BARRIER: memory barrier without comment #280: FILE: drivers/net/rnp/base/rnp_bdq_if.c:147: + wmb(); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #292: FILE: drivers/net/rnp/base/rnp_bdq_if.c:159: + udelay(10); WARNING:MEMORY_BARRIER: memory barrier without comment #300: FILE: drivers/net/rnp/base/rnp_bdq_if.c:167: + wmb(); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #311: FILE: drivers/net/rnp/base/rnp_bdq_if.c:178: + udelay(10); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #323: FILE: drivers/net/rnp/base/rnp_bdq_if.c:190: + udelay(10); WARNING:MEMORY_BARRIER: memory barrier without comment #432: FILE: drivers/net/rnp/base/rnp_bdq_if.c:299: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #443: FILE: drivers/net/rnp/base/rnp_bdq_if.c:310: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #467: FILE: drivers/net/rnp/base/rnp_bdq_if.c:334: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #469: FILE: drivers/net/rnp/base/rnp_bdq_if.c:336: + wmb(); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #481: FILE: drivers/net/rnp/base/rnp_bdq_if.c:348: + udelay(10); WARNING:MEMORY_BARRIER: memory barrier without comment #500: FILE: drivers/net/rnp/base/rnp_bdq_if.c:367: + rmb(); CHECK:USLEEP_RANGE: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.rst #514: FILE: drivers/net/rnp/base/rnp_bdq_if.c:381: + udelay(10); WARNING:MEMORY_BARRIER: memory barrier without comment #516: FILE: drivers/net/rnp/base/rnp_bdq_if.c:383: + rmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #521: FILE: drivers/net/rnp/base/rnp_bdq_if.c:388: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #524: FILE: drivers/net/rnp/base/rnp_bdq_if.c:391: + wmb(); WARNING:MEMORY_BARRIER: memory barrier without comment #527: FILE: drivers/net/rnp/base/rnp_bdq_if.c:394: + rmb(); CHECK:MACRO_ARG_REUSE: Macro argument reuse 'macaddr' - possible side-effects? #695: FILE: drivers/net/rnp/base/rnp_common.h:9: +#define RNP_GET_MAC_HI(macaddr) (((macaddr[0]) << 8) | (macaddr[1])) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'macaddr' - possible side-effects? #696: FILE: drivers/net/rnp/base/rnp_common.h:10: +#define RNP_GET_MAC_LO(macaddr) \ + ((macaddr[2] << 24) | (macaddr[3] << 16) | \ + ((macaddr[4] << 8)) | (macaddr[5])) WARNING:TYPO_SPELLING: 'CLER' may be misspelled - perhaps 'CLEAR'? #722: FILE: drivers/net/rnp/base/rnp_dma_regs.h:24: +#define RNP_RXTX_IRQ_CLER(qid) _RING_(0x0028 + 0x100 * (qid)) WARNING:MEMORY_BARRIER: memory barrier without comment #795: FILE: drivers/net/rnp/base/rnp_osdep.h:38: +#define rmb() rte_rmb() total: 0 errors, 19 warnings, 8 checks, 1356 lines checked