|WARNING| pw115758 [PATCH 2/2] net/ice: add basic flow ctrl support for enable/disable/get

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 1 23:14:43 CEST 2022


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

_coding style issues_


ERROR:SPACING: space required before the open parenthesis '('
#98: FILE: drivers/net/ice/ice_ethdev.c:4120:
+	if(status)

ERROR:SPACING: space required before the open parenthesis '('
#137: FILE: drivers/net/ice/ice_ethdev.c:4159:
+	if(status) {

ERROR:SPACING: space required before the open parenthesis '('
#141: FILE: drivers/net/ice/ice_ethdev.c:4163:
+	if(fc_conf->autoneg != ice_is_phy_caps_an_enabled(pcaps)) {

ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#146: FILE: drivers/net/ice/ice_ethdev.c:4168:
+	switch(fc_conf->mode) {
+		case RTE_ETH_FC_FULL:
[...]
+		case RTE_ETH_FC_RX_PAUSE:
[...]
+		case RTE_ETH_FC_TX_PAUSE:
[...]
+		case RTE_ETH_FC_NONE:

ERROR:SPACING: space required before the open parenthesis '('
#146: FILE: drivers/net/ice/ice_ethdev.c:4168:
+	switch(fc_conf->mode) {

total: 5 errors, 0 warnings, 0 checks, 126 lines checked


More information about the test-report mailing list