[dpdk-test-report] |WARNING| pw79650 [PATCH v2 34/56] net/txgbe: add device xstats get
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Oct 6 11:43:18 CEST 2020
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
More information about the test-report
mailing list