From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Joyce Kong <joyce.kong@arm.com>
Subject: [dpdk-test-report] |WARNING| pw89488 [PATCH v1] lib/mempool: distinguish debug counters from cache and pool
Date: Thu, 18 Mar 2021 12:11:06 +0100 (CET) [thread overview]
Message-ID: <20210318111106.6535C4C8B@dpdk.org> (raw)
In-Reply-To: <20210318110936.5269-1-joyce.kong@arm.com>
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
parent reply other threads:[~2021-03-18 11:11 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20210318110936.5269-1-joyce.kong@arm.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210318111106.6535C4C8B@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=joyce.kong@arm.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).