[dpdk-test-report] |WARNING| pw25611 [PATCH] cxgbe: report 100G link speed capability for Chelsio T6 adapters

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 22 10:43:00 CEST 2017


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for any arm of this statement
#33: FILE: drivers/net/cxgbe/cxgbe_ethdev.c:178:
+	if (CHELSIO_CHIP_VERSION(adapter->params.chip) == CHELSIO_T6) {
[...]
+	} else {
[...]

WARNING:LONG_LINE: line over 90 characters
#34: FILE: drivers/net/cxgbe/cxgbe_ethdev.c:179:
+		device_info->speed_capa = ETH_LINK_SPEED_10G | ETH_LINK_SPEED_40G | ETH_LINK_SPEED_100G;

total: 0 errors, 2 warnings, 0 checks, 12 lines checked


More information about the test-report mailing list