[dpdk-test-report] |WARNING| pw97447 [PATCH 29/38] common/sfc_efx/base: retrieve function interfaces for VNICs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 27 09:01:12 CEST 2021


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#105: FILE: drivers/common/sfc_efx/base/ef10_nic.c:1879:
+	if ((rc = efx_mcdi_get_function_info(enp, &pf, &vf, &intf)) != 0)

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

total: 2 errors, 0 warnings, 132 lines checked


More information about the test-report mailing list