|WARNING| pw128947 [PATCH v8 3/4] common/sfc_efx/base: add support to enable VLAN stripping
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Jun 23 07:49:36 CEST 2023
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/128947
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#165: FILE: drivers/common/sfc_efx/base/efx_port.c:224:
+ if ((rc = efx_filter_get_count(enp, &filter_count)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#175: FILE: drivers/common/sfc_efx/base/efx_port.c:234:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#184: 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