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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 2 16:48:47 CET 2017


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

_coding style issues_


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