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| pw22334 [PATCH v5 13/20] event/sw: add xstats support
Date: Sun, 26 Mar 2017 23:57:18 +0200 (CEST)	[thread overview]
Message-ID: <20170326215718.2CEC3F618@dpdk.org> (raw)
In-Reply-To: <1490374395-149320-14-git-send-email-harry.van.haaren@intel.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'signed int' to bare use of 'signed'
#582: 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'
#588: 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'?
#594: 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'
#635: 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'
#640: 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'?
#645: 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
#766: 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-26 21:57 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1490374395-149320-14-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=20170326215718.2CEC3F618@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).