automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Allain Legacy <allain.legacy@windriver.com>
Subject: [dpdk-test-report] |WARNING| pw20746 [PATCH 12/16] net/avp: packet transmit functions
Date: Sat, 25 Feb 2017 02:24:59 +0100 (CET)	[thread overview]
Message-ID: <20170225012459.BDF97F960@dpdk.org> (raw)
In-Reply-To: <1487985795-136044-13-git-send-email-allain.legacy@windriver.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#119: FILE: drivers/net/avp/avp_ethdev.c:1625:
+			unsigned count)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#130: FILE: drivers/net/avp/avp_ethdev.c:1636:
+	unsigned i;

CHECK:SPACING: spaces preferred around that '+' (ctx:VxV)
#143: FILE: drivers/net/avp/avp_ethdev.c:1649:
+			pkt_buf = avp_dev_translate_buffer(avp, buffers[i+1]);
 			                                                 ^

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#216: FILE: drivers/net/avp/avp_ethdev.c:1722:
+	unsigned count, avail, n;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#217: FILE: drivers/net/avp/avp_ethdev.c:1723:
+	unsigned orig_nb_pkts;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#219: FILE: drivers/net/avp/avp_ethdev.c:1725:
+	unsigned required;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#220: FILE: drivers/net/avp/avp_ethdev.c:1726:
+	unsigned segments;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#221: FILE: drivers/net/avp/avp_ethdev.c:1727:
+	unsigned tx_bytes;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#222: FILE: drivers/net/avp/avp_ethdev.c:1728:
+	unsigned i;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#256: FILE: drivers/net/avp/avp_ethdev.c:1762:
+		if (likely(i < (unsigned)nb_pkts - 1)) {

CHECK:SPACING: spaces preferred around that '+' (ctx:VxV)
#258: FILE: drivers/net/avp/avp_ethdev.c:1764:
+			rte_prefetch0(tx_pkts[i+1]);
 			                       ^

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#337: FILE: drivers/net/avp/avp_ethdev.c:1843:
+	unsigned count, avail, n;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#339: FILE: drivers/net/avp/avp_ethdev.c:1845:
+	unsigned pkt_len;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#340: FILE: drivers/net/avp/avp_ethdev.c:1846:
+	unsigned tx_bytes;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#342: FILE: drivers/net/avp/avp_ethdev.c:1848:
+	unsigned i;

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#386: FILE: drivers/net/avp/avp_ethdev.c:1892:
+	for (i = 0; i < count; i++) {
+

CHECK:SPACING: spaces preferred around that '-' (ctx:VxV)
#388: FILE: drivers/net/avp/avp_ethdev.c:1894:
+		if (i < count-1) {
 		             ^

CHECK:SPACING: spaces preferred around that '+' (ctx:VxV)
#389: FILE: drivers/net/avp/avp_ethdev.c:1895:
+			pkt_buf = avp_dev_translate_buffer(avp, avp_bufs[i+1]);
 			                                                  ^

total: 0 errors, 13 warnings, 5 checks, 383 lines checked

           reply	other threads:[~2017-02-25  1:24 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1487985795-136044-13-git-send-email-allain.legacy@windriver.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=20170225012459.BDF97F960@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=allain.legacy@windriver.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).