|WARNING| pw128909 [PATCH v6 3/4] common/sfc_efx/base: add support to enable VLAN stripping

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 22 13:33:37 CEST 2023


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#163: FILE: drivers/common/sfc_efx/base/efx_port.c:224:
+	if ((rc = efx_filter_get_count(enp, &filters_count)) != 0)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#173: FILE: drivers/common/sfc_efx/base/efx_port.c:234:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#182: FILE: drivers/common/sfc_efx/base/efx_port.c:243:
+	return (rc);

total: 3 errors, 0 warnings, 135 lines checked


More information about the test-report mailing list