* [dpdk-test-report] |WARNING| pw76230 [PATCH v1 28/42] net/txgbe: add device xstats get
[not found] <20200901115113.1529675-28-jiawenwu@trustnetic.com>
@ 2020-09-08 23:28 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-08 23:28 UTC (permalink / raw)
To: test-report; +Cc: Jiawen Wu
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-08 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20200901115113.1529675-28-jiawenwu@trustnetic.com>
2020-09-08 23:28 ` [dpdk-test-report] |WARNING| pw76230 [PATCH v1 28/42] net/txgbe: add device xstats get checkpatch
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).