* [dpdk-test-report] |WARNING| pw79650 [PATCH v2 34/56] net/txgbe: add device xstats get
[not found] <20201005120910.189343-35-jiawenwu@trustnetic.com>
@ 2020-10-06 9:43 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-10-06 9:43 UTC (permalink / raw)
To: test-report; +Cc: Jiawen Wu
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
^ permalink raw reply [flat|nested] only message in thread