[dpdk-test-report] |WARNING| pw28099 [PATCH 07/11] net/sfc/base: update RSS API to take RSS context parameter

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 30 20:18:53 CEST 2017


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#119: FILE: drivers/net/sfc/base/ef10_rx.c:596:
+	if ((rc = efx_mcdi_rss_context_set_key(enp, rss_context, key, n)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#240: FILE: drivers/net/sfc/base/efx_rx.c:450:
+		if ((rc = erxop->erxo_scale_mode_set(enp, rss_context, alg,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#257: FILE: drivers/net/sfc/base/efx_rx.c:477:
+	if ((rc = erxop->erxo_scale_key_set(enp, rss_context, key, n)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#274: FILE: drivers/net/sfc/base/efx_rx.c:503:
+	if ((rc = erxop->erxo_scale_tbl_set(enp, rss_context, table, n)) != 0)

total: 4 errors, 0 warnings, 0 checks, 402 lines checked


More information about the test-report mailing list