automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Vladimir Medvedkin <medvedkinv@gmail.com>
Subject: [dpdk-test-report] |WARNING| pw35333 [PATCH v2 1/2] Add RIB library
Date: Wed, 21 Feb 2018 22:09:57 +0100 (CET)	[thread overview]
Message-ID: <20180221210957.72C0E1B01C@dpdk.org> (raw)
In-Reply-To: <1519249495-16594-2-git-send-email-medvedkinv@gmail.com>

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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#26: 
 - For dir24_8 implementation it is possible to remove rte_lpm_tbl_entry.depth

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#165: FILE: lib/librte_rib/rte_dir24_8.c:37:
+	uint64_t *next_hops, const unsigned n)				\

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#170: FILE: lib/librte_rib/rte_dir24_8.c:42:
+	uint32_t prefetch_offset = RTE_MIN((unsigned)bulk_prefetch, n);	\

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#699: FILE: lib/librte_rib/rte_dir24_8.h:83:
+	uint64_t *next_hops, const unsigned n);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#701: FILE: lib/librte_rib/rte_dir24_8.h:85:
+	uint64_t *next_hops, const unsigned n);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#703: FILE: lib/librte_rib/rte_dir24_8.h:87:
+	uint64_t *next_hops, const unsigned n);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#705: FILE: lib/librte_rib/rte_dir24_8.h:89:
+	uint64_t *next_hops, const unsigned n);

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1285: FILE: lib/librte_rib/rte_rib.h:15:
+#define RTE_RIB_RETURN_IF_TRUE(cond, retval) do {	\
+	if (cond)					\
+		return retval;				\
+} while (0)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1358: FILE: lib/librte_rib/rte_rib.h:88:
+	uint64_t *next_hops, const unsigned n);

total: 0 errors, 9 warnings, 1520 lines checked

           reply	other threads:[~2018-02-21 21:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1519249495-16594-2-git-send-email-medvedkinv@gmail.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=20180221210957.72C0E1B01C@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=medvedkinv@gmail.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).