[dpdk-test-report] |WARNING| pw21657 [PATCH v2 1/6] net/sfc/base: don't ignore requested MAC stats update period

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Mar 14 10:17:23 CET 2017


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#50: FILE: drivers/net/sfc/base/efx_mcdi.c:1801:
+	if ((rc = efx_mcdi_mac_stats(enp, NULL, EFX_STATS_CLEAR, 0)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#59: FILE: drivers/net/sfc/base/efx_mcdi.c:1824:
+	if ((rc = efx_mcdi_mac_stats(enp, esmp, EFX_STATS_UPLOAD, 0)) != 0)

total: 2 errors, 0 warnings, 0 checks, 71 lines checked


More information about the test-report mailing list