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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 22 17:12:32 CEST 2023


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#164: 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
#174: FILE: drivers/common/sfc_efx/base/efx_port.c:234:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#183: 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