automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: zhao wei <wei.zhao1@intel.com>
Subject: [dpdk-test-report] |WARNING| pw29234 [PATCH v4 1/3] net/i40e: queue region set and flush
Date: Thu, 28 Sep 2017 11:22:17 +0200 (CEST)	[thread overview]
Message-ID: <20170928092217.36CFF199AF@dpdk.org> (raw)
In-Reply-To: <1506589809-59533-2-git-send-email-wei.zhao1@intel.com>

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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'conf_ptr->queue_num <= 64'
#284: FILE: drivers/net/i40e/rte_pmd_i40e.c:2255:
+	if (!((rte_is_power_of_2(conf_ptr->queue_num)) &&
+				(conf_ptr->queue_num <= 64))) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'i == info->queue_region_number'
#306: FILE: drivers/net/i40e/rte_pmd_i40e.c:2277:
+	if ((i == info->queue_region_number) &&
+				(i <= I40E_REGION_MAX_INDEX)) {

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'i <= I40E_REGION_MAX_INDEX'
#306: FILE: drivers/net/i40e/rte_pmd_i40e.c:2277:
+	if ((i == info->queue_region_number) &&
+				(i <= I40E_REGION_MAX_INDEX)) {

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#646: FILE: drivers/net/i40e/rte_pmd_i40e.c:2617:
+	printf("  queue_region_number: %-14u 
", info->queue_region_number);

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#650: FILE: drivers/net/i40e/rte_pmd_i40e.c:2621:
+			"queue_start_index: %-14u 
",

total: 0 errors, 2 warnings, 3 checks, 753 lines checked

           reply	other threads:[~2017-09-28  9:22 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1506589809-59533-2-git-send-email-wei.zhao1@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=20170928092217.36CFF199AF@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=test-report@dpdk.org \
    --cc=wei.zhao1@intel.com \
    /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).