|WARNING| pw152984 [PATCH 37/46] common/sfc_efx/base: correct MAC PDU calculation on Medford4

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 16 16:07:53 CEST 2025


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

_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