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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 10:52:44 CEST 2020


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

_coding style issues_


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

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