[dpdk-test-report] |WARNING| pw44486 [19/37] net/sfc/base: add accessor for default port mode

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 10 11:35:13 CEST 2018


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

_coding style issues_


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

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

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


More information about the test-report mailing list