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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 11 16:53:57 CEST 2021


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#107: 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
#180: 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