automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Subject: [dpdk-test-report] |WARNING| pw79650 [PATCH v2 34/56] net/txgbe: add device xstats get
Date: Tue,  6 Oct 2020 11:43:18 +0200 (CEST)	[thread overview]
Message-ID: <20201006094318.1408B2952@dpdk.org> (raw)
In-Reply-To: <20201005120910.189343-35-jiawenwu@trustnetic.com>

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#318: FILE: drivers/net/txgbe/txgbe_ethdev.c:1429:
+	unsigned i, count;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#321: FILE: drivers/net/txgbe/txgbe_ethdev.c:1432:
+	if (xstats_names == NULL) {
+		return count;
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#347: FILE: drivers/net/txgbe/txgbe_ethdev.c:1458:
+	unsigned i;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#349: FILE: drivers/net/txgbe/txgbe_ethdev.c:1460:
+	if (ids == NULL) {
+		return txgbe_dev_xstats_get_names(dev, xstats_names, limit);
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#366: FILE: drivers/net/txgbe/txgbe_ethdev.c:1477:
+					 unsigned limit)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#370: FILE: drivers/net/txgbe/txgbe_ethdev.c:1481:
+	unsigned i, count;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#378: FILE: drivers/net/txgbe/txgbe_ethdev.c:1489:
+	if (xstats == NULL) {
+		return count;
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#401: FILE: drivers/net/txgbe/txgbe_ethdev.c:1512:
+					 unsigned limit)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#405: FILE: drivers/net/txgbe/txgbe_ethdev.c:1516:
+	unsigned i, count;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#413: FILE: drivers/net/txgbe/txgbe_ethdev.c:1524:
+	if (values == NULL) {
+		return count;
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#438: FILE: drivers/net/txgbe/txgbe_ethdev.c:1549:
+	unsigned i;

WARNING:BRACES: braces {} are not necessary for single statement blocks
#440: FILE: drivers/net/txgbe/txgbe_ethdev.c:1551:
+	if (ids == NULL) {
+		return txgbe_dev_xstats_get_(dev, values, limit);
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#501: FILE: drivers/net/txgbe/txgbe_ethdev.h:190:
+	unsigned offset;

total: 0 errors, 13 warnings, 0 checks, 421 lines checked

           reply	other threads:[~2020-10-06  9:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20201005120910.189343-35-jiawenwu@trustnetic.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=20201006094318.1408B2952@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=jiawenwu@trustnetic.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).