[dpdk-test-report] |WARNING| pw39319 [PATCH 4/4] net/sfc/base: add Medford2 head-of-line blocking stats

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 3 16:42:40 CEST 2018


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

_coding style issues_


WARNING:TYPO_SPELLING: 'availble' may be misspelled - perhaps 'available'?
#13: 
These stats are availble on Medford2 DPDK firmware variant

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#37: FILE: drivers/net/sfc/base/ef10_mac.c:551:
+		if ((rc = efx_mac_stats_mask_add_ranges(maskp, mask_size,

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_RXDP_HLB_IDLE]
#55: FILE: drivers/net/sfc/base/ef10_mac.c:1015:
+	EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_IDLE]), &value);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_RXDP_HLB_TIMEOUT]
#58: FILE: drivers/net/sfc/base/ef10_mac.c:1018:
+	EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_RXDP_HLB_TIMEOUT]), &value);

total: 1 errors, 1 warnings, 2 checks, 51 lines checked


More information about the test-report mailing list