[dpdk-test-report] |WARNING| pw45209 [06/11] net/sfc/base: support improvements to bandwidth calculations

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 24 15:51:38 CEST 2018


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

_coding style issues_


ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#67: FILE: drivers/net/sfc/base/ef10_nic.c:142:
+	if ((rc = efx_mcdi_get_port_modes(enp, &port_modes,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#159: FILE: drivers/net/sfc/base/medford2_nic.c:23:
+	if ((rc = ef10_nic_get_port_mode_bandwidth(enp,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#188: FILE: drivers/net/sfc/base/medford_nic.c:21:
+	if ((rc = ef10_nic_get_port_mode_bandwidth(enp,

total: 3 errors, 0 warnings, 0 checks, 135 lines checked


More information about the test-report mailing list