|WARNING| pw114574 [PATCH 08/13] net/idpf: add basic Rx/Tx datapath

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Aug 3 13:32:55 CEST 2022


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

_coding style issues_


WARNING:TYPO_SPELLING: 'ingnore' may be misspelled - perhaps 'ignore'?
#590: FILE: drivers/net/idpf/idpf_rxtx.c:1692:
+			 * Now, just ingnore the RE write back, free mbuf when get RS

WARNING:DEEP_INDENTATION: Too many leading tabs - consider code refactoring
#935: FILE: drivers/net/idpf/idpf_rxtx.c:2037:
+						if (nb_tx == 0)

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1087: FILE: drivers/net/idpf/idpf_rxtx.c:2189:
+		return;
+	} else {

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#1103: FILE: drivers/net/idpf/idpf_rxtx.c:2205:
+		return;
+	} else {

total: 0 errors, 4 warnings, 0 checks, 1065 lines checked
Warning in drivers/net/idpf/idpf_rxtx.c:
Declaring a variable inside for()


More information about the test-report mailing list