From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Subject: [dpdk-test-report] |WARNING| pw76230 [PATCH v1 28/42] net/txgbe: add device xstats get
Date: Wed, 9 Sep 2020 01:28:26 +0200 (CEST) [thread overview]
Message-ID: <20200908232826.B99D91BEAC@dpdk.org> (raw)
In-Reply-To: <20200901115113.1529675-28-jiawenwu@trustnetic.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/76230
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#303: FILE: drivers/net/txgbe/txgbe_ethdev.c:1275:
+ unsigned i, count;
WARNING:BRACES: braces {} are not necessary for single statement blocks
#306: FILE: drivers/net/txgbe/txgbe_ethdev.c:1278:
+ if (xstats_names == NULL) {
+ return count;
+ }
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#332: FILE: drivers/net/txgbe/txgbe_ethdev.c:1304:
+ unsigned i;
WARNING:BRACES: braces {} are not necessary for single statement blocks
#334: FILE: drivers/net/txgbe/txgbe_ethdev.c:1306:
+ if (ids == NULL) {
+ return txgbe_dev_xstats_get_names(dev, xstats_names, limit);
+ }
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#351: FILE: drivers/net/txgbe/txgbe_ethdev.c:1323:
+ unsigned limit)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#355: FILE: drivers/net/txgbe/txgbe_ethdev.c:1327:
+ unsigned i, count;
WARNING:BRACES: braces {} are not necessary for single statement blocks
#363: FILE: drivers/net/txgbe/txgbe_ethdev.c:1335:
+ if (xstats == NULL) {
+ return count;
+ }
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#386: FILE: drivers/net/txgbe/txgbe_ethdev.c:1358:
+ unsigned limit)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#390: FILE: drivers/net/txgbe/txgbe_ethdev.c:1362:
+ unsigned i, count;
WARNING:BRACES: braces {} are not necessary for single statement blocks
#398: FILE: drivers/net/txgbe/txgbe_ethdev.c:1370:
+ if (values == NULL) {
+ return count;
+ }
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#423: FILE: drivers/net/txgbe/txgbe_ethdev.c:1395:
+ unsigned i;
WARNING:BRACES: braces {} are not necessary for single statement blocks
#425: FILE: drivers/net/txgbe/txgbe_ethdev.c:1397:
+ if (ids == NULL) {
+ return txgbe_dev_xstats_get_(dev, values, limit);
+ }
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#486: FILE: drivers/net/txgbe/txgbe_ethdev.h:180:
+ unsigned offset;
total: 0 errors, 13 warnings, 0 checks, 414 lines checked
parent reply other threads:[~2020-09-08 23:28 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20200901115113.1529675-28-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=20200908232826.B99D91BEAC@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).