From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>
Subject: [dpdk-test-report] |WARNING| pw24412 [PATCH v4 2/2] ethdev: add traffic management API
Date: Fri, 19 May 2017 19:13:49 +0200 (CEST) [thread overview]
Message-ID: <20170519171350.02F5C3256@dpdk.org> (raw)
In-Reply-To: <1495213972-109148-3-git-send-email-cristian.dumitrescu@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/24412
_coding style issues_
WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#315: FILE: lib/librte_ether/rte_tm.c:61:
+ ENOSYS,
WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#318: FILE: lib/librte_ether/rte_tm.c:64:
+ rte_strerror(ENOSYS));
WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#325: FILE: lib/librte_ether/rte_tm.c:71:
+#define RTE_TM_FUNC(port_id, func) \
+({ \
+ const struct rte_tm_ops *ops = \
+ rte_tm_ops_get(port_id, error); \
+ if (ops == NULL) \
+ return -rte_errno; \
+ \
+ if (ops->func == NULL) \
+ return -rte_tm_error_set(error, \
+ ENOSYS, \
+ RTE_TM_ERROR_TYPE_UNSPECIFIED, \
+ NULL, \
+ rte_strerror(ENOSYS)); \
+ \
+ ops->func; \
+})
WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#334: FILE: lib/librte_ether/rte_tm.c:80:
+ ENOSYS, \
WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#337: FILE: lib/librte_ether/rte_tm.c:83:
+ rte_strerror(ENOSYS)); \
ERROR:TRAILING_WHITESPACE: trailing whitespace
#957: FILE: lib/librte_ether/rte_tm.h:249:
+^I$
WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#1316: FILE: lib/librte_ether/rte_tm.h:608:
+ * true for all the leaf nodes on this level. */
ERROR:SPACING: space required before the open brace '{'
#2118: FILE: lib/librte_ether/rte_tm.h:1410:
+ if (lid != level_id){
ERROR:SPACING: space required before the open brace '{'
#2119: FILE: lib/librte_ether/rte_tm.h:1411:
+ if (error){
total: 3 errors, 6 warnings, 2809 lines checked
parent reply other threads:[~2017-05-19 17:13 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1495213972-109148-3-git-send-email-cristian.dumitrescu@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=20170519171350.02F5C3256@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=cristian.dumitrescu@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).