automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Andrew Rybchenko <arybchenko@solarflare.com>
Subject: [dpdk-test-report] |WARNING| pw24588 [PATCH 2/2] examples: adjust Rx and Tx descriptors to device limits
Date: Thu, 25 May 2017 18:00:23 +0200 (CEST)	[thread overview]
Message-ID: <20170525160023.29EF699A2@dpdk.org> (raw)
In-Reply-To: <1495727874-10892-2-git-send-email-arybchenko@solarflare.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#235: FILE: examples/exception_path/main.c:439:
+			    (unsigned)port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#421: FILE: examples/kni/main.c:622:
+				"for port%u (%d)
", (unsigned)port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#483: FILE: examples/l2fwd-crypto/main.c:1868:
+				retval, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#503: FILE: examples/l2fwd-jobstats/main.c:891:
+				 ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#521: FILE: examples/l2fwd-keepalive/main.c:685:
+				ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#539: FILE: examples/l2fwd/main.c:674:
+				 ret, (unsigned) portid);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#620: FILE: examples/l3fwd-vf/main.c:102:
+#define NB_MBUF RTE_MAX	(						\

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#620: FILE: examples/l3fwd-vf/main.c:102:
+#define NB_MBUF RTE_MAX	(						\
+				(nb_ports*nb_rx_queue*nb_rxd +		\
+				nb_ports*nb_lcores*MAX_PKT_BURST +	\
+				nb_ports*n_tx_queue*nb_txd +		\
+				nb_lcores*MEMPOOL_CACHE_SIZE),		\
 				(unsigned)8192)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#688: FILE: examples/link_status_interrupt/main.c:654:
+				 ret, (unsigned) portid);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#716: FILE: examples/load_balancer/init.c:461:
+				(unsigned) port, ret);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#764: FILE: examples/multi_process/l2fwd_fork/main.c:1088:
+				 ret, (unsigned) portid);

total: 1 errors, 10 warnings, 994 lines checked

           reply	other threads:[~2017-05-25 16:00 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1495727874-10892-2-git-send-email-arybchenko@solarflare.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=20170525160023.29EF699A2@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=arybchenko@solarflare.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).