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 96273A0561 for ; Thu, 18 Mar 2021 12:11:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8B321406FF; Thu, 18 Mar 2021 12:11:08 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mails.dpdk.org (Postfix) with ESMTP id 8A5E440698 for ; Thu, 18 Mar 2021 12:11:06 +0100 (CET) Received: by dpdk.org (Postfix, from userid 1017) id 6535C4C8B; Thu, 18 Mar 2021 12:11:06 +0100 (CET) In-Reply-To: <20210318110936.5269-1-joyce.kong@arm.com> References: <20210318110936.5269-1-joyce.kong@arm.com> To: test-report@dpdk.org Cc: Joyce Kong Message-Id: <20210318111106.6535C4C8B@dpdk.org> Date: Thu, 18 Mar 2021 12:11:06 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw89488 [PATCH v1] lib/mempool: distinguish debug counters from cache and pool 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 Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/89488 _coding style issues_ WARNING:TYPO_SPELLING: 'caculate' may be misspelled - perhaps 'calculate'? #52: subsequently from/to the common pool. Now the debug stats caculate WARNING:TYPO_SPELLING: 'retrived' may be misspelled - perhaps 'retrieved'? #53: the objects retrived/put from/to cache and pool together, it is WARNING:SPACE_BEFORE_TAB: please, no space before tabs #112: FILE: lib/librte_mempool/rte_mempool.h:70: +^Iuint64_t put_objs; ^I /**< Number of objects successfully put. */$ WARNING:SPACE_BEFORE_TAB: please, no space before tabs #117: FILE: lib/librte_mempool/rte_mempool.h:75: +^Iuint64_t get_success_objs; ^I /**< Objects successfully allocated. */$ WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #134: FILE: lib/librte_mempool/rte_mempool.h:280: + unsigned __lcore_id = rte_lcore_id(); \ ERROR:SPACING: space required before the open parenthesis '(' #141: FILE: lib/librte_mempool/rte_mempool.h:285: + } while(0) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #143: FILE: lib/librte_mempool/rte_mempool.h:287: + unsigned __lcore_id = rte_lcore_id(); \ ERROR:SPACING: space required before the open parenthesis '(' #146: FILE: lib/librte_mempool/rte_mempool.h:290: + } while(0) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #148: FILE: lib/librte_mempool/rte_mempool.h:292: + unsigned __lcore_id = rte_lcore_id(); \ ERROR:SPACING: space required before the open parenthesis '(' #165: FILE: lib/librte_mempool/rte_mempool.h:305: +#define __MEMPOOL_OBJS_STAT_ADD(mp, name1, name2, n) do {} while(0) WARNING:TYPO_SPELLING: 'nmae' may be misspelled - perhaps 'name'? #166: FILE: lib/librte_mempool/rte_mempool.h:306: +#define __MEMPOOL_OBJS_STAT_SUB(mp, name1, nmae2, n) do {} while(0) ERROR:SPACING: space required before the open parenthesis '(' #166: FILE: lib/librte_mempool/rte_mempool.h:306: +#define __MEMPOOL_OBJS_STAT_SUB(mp, name1, nmae2, n) do {} while(0) total: 4 errors, 8 warnings, 141 lines checked