automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Harry van Haaren <harry.van.haaren@intel.com>
Subject: [dpdk-test-report] |WARNING| pw21693 [PATCH v4 16/17] event/sw: add xstats support
Date: Tue, 14 Mar 2017 10:17:53 +0100 (CET)	[thread overview]
Message-ID: <20170314091753.AC0EA69A5@dpdk.org> (raw)
In-Reply-To: <1489175012-101439-17-git-send-email-harry.van.haaren@intel.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'signed int' to bare use of 'signed'
#586: FILE: drivers/event/sw/sw_evdev_xstats.c:427:
+		if (queue_port_id >= (signed)sw->port_count)

WARNING:UNSPECIFIED_INT: Prefer 'signed int' to bare use of 'signed'
#592: FILE: drivers/event/sw/sw_evdev_xstats.c:433:
+		if (queue_port_id >= (signed)sw->qid_count)

WARNING:TYPO_SPELLING: 'recieved' may be misspelled - perhaps 'received'?
#598: FILE: drivers/event/sw/sw_evdev_xstats.c:439:
+		SW_LOG_ERR("Invalid mode recieved in sw_xstats_get_names()
");

WARNING:UNSPECIFIED_INT: Prefer 'signed int' to bare use of 'signed'
#639: FILE: drivers/event/sw/sw_evdev_xstats.c:480:
+		if (queue_port_id >= (signed)sw->port_count)

WARNING:UNSPECIFIED_INT: Prefer 'signed int' to bare use of 'signed'
#644: FILE: drivers/event/sw/sw_evdev_xstats.c:485:
+		if (queue_port_id >= (signed)sw->qid_count)

WARNING:TYPO_SPELLING: 'recieved' may be misspelled - perhaps 'received'?
#649: FILE: drivers/event/sw/sw_evdev_xstats.c:490:
+		SW_LOG_ERR("Invalid mode recieved in sw_xstats_get()
");

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#770: FILE: drivers/event/sw/sw_evdev_xstats.c:611:
+		return nb_reset == nb_ids ? 0 : -EINVAL;
+	} else

total: 0 errors, 7 warnings, 769 lines checked

           reply	other threads:[~2017-03-14  9:17 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1489175012-101439-17-git-send-email-harry.van.haaren@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=20170314091753.AC0EA69A5@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=harry.van.haaren@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).