|WARNING| pw153119 [PATCH v2 36/45] common/sfc_efx/base: correct MAC PDU calculation on Medford4

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 23 18:06:40 CEST 2025


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

_coding style issues_


WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#162: FILE: drivers/common/sfc_efx/base/efx_mac.c:125:
+		return sdu + 14 /* ETH */ + 4 /* VLAN */ + 4 /* FCS */;
+	} else {

total: 0 errors, 1 warnings, 112 lines checked


More information about the test-report mailing list