[dpdk-test-report] |WARNING| pw78693 [PATCH v3 13/60] common/sfc_efx/base: factor out MCDI entity reset helper

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 24 14:17:08 CEST 2020


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

_coding style issues_


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

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#165: FILE: drivers/common/sfc_efx/base/ef10_nic.c:2247:
+	if ((rc = efx_mcdi_entity_reset(enp)) != 0)

total: 2 errors, 0 warnings, 70 lines checked


More information about the test-report mailing list