automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: xiangxia.m.yue@gmail.com
Subject: [dpdk-test-report] |WARNING| pw68050 [PATCH dpdk-dev 2/2] mempool: use shared memzone for rte_mempool_ops
Date: Thu,  9 Apr 2020 12:55:57 +0200 (CEST)	[thread overview]
Message-ID: <20200409105557.9B42F1C246@dpdk.org> (raw)
In-Reply-To: <1586429580-6990-2-git-send-email-xiangxia.m.yue@gmail.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/68050

_coding style issues_


ERROR:INITIALISED_STATIC: do not initialise statics to false
#213: FILE: lib/librte_mempool/rte_mempool_ops.c:22:
+	static bool mempool_shared_ops_inited = false;

ERROR:POINTER_LOCATION: "foo* bar" should be "foo *bar"
#215: FILE: lib/librte_mempool/rte_mempool_ops.c:24:
+	const struct rte_memzone* mz;

ERROR:SPACING: space required before the open parenthesis '('
#253: FILE: lib/librte_mempool/rte_mempool_ops.c:58:
+		if(!strcmp(name, shared_ops->mempool_ops[ops_index].name)) {

ERROR:SPACING: space prohibited before that '++' (ctx:WxO)
#258: FILE: lib/librte_mempool/rte_mempool_ops.c:63:
+		ops_index ++;
 		          ^

ERROR:SPACING: space prohibited before that '++' (ctx:WxO)
#264: FILE: lib/librte_mempool/rte_mempool_ops.c:69:
+	shared_ops->num_mempool_ops ++;
 	                            ^

total: 5 errors, 0 warnings, 168 lines checked

       reply	other threads:[~2020-04-09 10:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1586429580-6990-2-git-send-email-xiangxia.m.yue@gmail.com>
2020-04-09 10:55 ` checkpatch [this message]
2020-04-09 13:09 ` [dpdk-test-report] |WARNING| pw68050 " 0-day Robot

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=20200409105557.9B42F1C246@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=xiangxia.m.yue@gmail.com \
    /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).