From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jingjing Wu <jingjing.wu@intel.com>
Subject: [dpdk-test-report] |WARNING| pw31618 [PATCH v2 02/14] net/avf: initilization of avf PMD
Date: Mon, 27 Nov 2017 12:24:40 +0100 (CET) [thread overview]
Message-ID: <20171127112440.658EB2B99@dpdk.org> (raw)
In-Reply-To: <1511505206-97333-3-git-send-email-jingjing.wu@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/31618
_coding style issues_
WARNING:TYPO_SPELLING: 'initilization' may be misspelled - perhaps 'initialization'?
#5:
Subject: [dpdk-dev] [PATCH v2 02/14] net/avf: initilization of avf PMD
WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon
#600: FILE: drivers/net/avf/avf_ethdev.c:250:
+ hw->back = AVF_DEV_PRIVATE_TO_ADAPTER(eth_dev->data->dev_private);;
CHECK:CAMELCASE: Avoid CamelCase: <PRIu64>
#744: FILE: drivers/net/avf/avf_ethdev.c:394:
+ snprintf(z_name, sizeof(z_name), "avf_dma_%"PRIu64, rte_rand());
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#744: FILE: drivers/net/avf/avf_ethdev.c:394:
+ snprintf(z_name, sizeof(z_name), "avf_dma_%"PRIu64, rte_rand());
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#755: FILE: drivers/net/avf/avf_ethdev.c:405:
+ "memzone %s allocated with physical address: %"PRIu64,
CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements
#769: FILE: drivers/net/avf/avf_ethdev.c:419:
+ "memzone %s to be freed with physical address: %"PRIu64,
WARNING:RETURN_VOID: void function return statements are not generally useful
#832: FILE: drivers/net/avf/avf_ethdev.c:482:
+ return;
+}
CHECK:BRACES: Unbalanced braces around else statement
#1061: FILE: drivers/net/avf/avf_vchnl.c:210:
+ } else
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START'
#1112: FILE: drivers/net/avf/avf_vchnl.c:261:
+ if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) ||
+ ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) &&
+ (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START'
#1112: FILE: drivers/net/avf/avf_vchnl.c:261:
+ if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) ||
+ ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) &&
+ (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START'
#1112: FILE: drivers/net/avf/avf_vchnl.c:261:
+ if ((vf->virtchnl_version.major < VIRTCHNL_VERSION_MAJOR_START) ||
+ ((vf->virtchnl_version.major == VIRTCHNL_VERSION_MAJOR_START) &&
+ (vf->virtchnl_version.minor < VIRTCHNL_VERSION_MINOR_START))) {
WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1149: FILE: drivers/net/avf/avf_vchnl.c:298:
+ /* TODO: basic offload capabilities, need to
+ * add advanced/optional offload capabilities
total: 0 errors, 4 warnings, 1127 lines checked
parent reply other threads:[~2017-11-27 11:24 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1511505206-97333-3-git-send-email-jingjing.wu@intel.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=20171127112440.658EB2B99@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=jingjing.wu@intel.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).