|WARNING| pw139247 [PATCH 1/2] net/bonding: introduce direct link bonding mode

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 12 14:22:14 CEST 2024


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#106: FILE: app/test/test_link_bonding.c:2162:
+	for (i = 0; i < burst_size; i++) {
+		pkts[i]->port = member_port_id;
+	}

WARNING:TYPO_SPELLING: 'expeected' may be misspelled - perhaps 'expected'?
#119: FILE: app/test/test_link_bonding.c:2175:
+			"Bonding port (%d) opackets value (%u) not as expeected (%u)
",

WARNING:TYPO_SPELLING: 'expeected' may be misspelled - perhaps 'expected'?
#126: FILE: app/test/test_link_bonding.c:2182:
+			"Member port (%d) opackets value (%u) not as expeected (%u)
",

WARNING:BRACES: braces {} are not necessary for single statement blocks
#170: FILE: app/test/test_link_bonding.c:2226:
+	for (i = 0; i < burst_size; i++) {
+		pkts[i]->port = exp_member_port_id;
+	}

WARNING:TYPO_SPELLING: 'expeected' may be misspelled - perhaps 'expected'?
#183: FILE: app/test/test_link_bonding.c:2239:
+			"Bonding port (%d) opackets value (%u) not as expeected (%u)
",

WARNING:BRACES: braces {} are not necessary for single statement blocks
#245: FILE: app/test/test_link_bonding.c:2301:
+	for (i = 0; i < burst_size; i++) {
+		pkts[i]->port = RTE_MAX_ETHPORTS;
+	}

WARNING:TYPO_SPELLING: 'expeected' may be misspelled - perhaps 'expected'?
#258: FILE: app/test/test_link_bonding.c:2314:
+			"Bonding port (%d) opackets value (%u) not as expeected (%u)
",

total: 0 errors, 7 warnings, 0 checks, 373 lines checked


More information about the test-report mailing list