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 2A33CA00C5 for ; Fri, 4 Nov 2022 12:18:59 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 216F642D18; Fri, 4 Nov 2022 12:18:59 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 58A5242D10 for ; Fri, 4 Nov 2022 12:18:57 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 3893C121ED8; Fri, 4 Nov 2022 12:18:57 +0100 (CET) Subject: |WARNING| pw119490 [PATCH v3 3/3] mempool: use cache for frequently updated stats In-Reply-To: <20221104111740.330-3-mb@smartsharesystems.com> References: <20221104111740.330-3-mb@smartsharesystems.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: =?utf-8?q?Morten_Br=C3=B8rup?= Message-Id: <20221104111857.3893C121ED8@dpdk.org> Date: Fri, 4 Nov 2022 12:18:57 +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/119490 _coding style issues_ WARNING:TYPO_SPELLING: 'accesing' may be misspelled - perhaps 'accessing'? #62: structure, accesing the dedicated statistics structure is avoided in the WARNING:REPEATED_WORD: Possible repeated word: 'the' #78: * Don't update the the description of the RTE_MEMPOOL_STAT_ADD macro. WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop #148: FILE: lib/mempool/rte_mempool.h:345: +#define RTE_MEMPOOL_CACHE_STAT_ADD(cache, name, n) do { \ + (cache)->stats.name += n; \ + } while (0) total: 0 errors, 3 warnings, 126 lines checked