[dpdk-test-report] |WARNING| pw79660 [PATCH v2 41/56] net/txgbe: add VMDq configure

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 6 11:43:56 CEST 2020


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

_coding style issues_


CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#253: FILE: drivers/net/txgbe/txgbe_rxtx.c:2659:
+
+	}

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#390: FILE: drivers/net/txgbe/txgbe_rxtx.c:2820:
+		if (dev->data->dev_conf.txmode.mq_mode == ETH_MQ_TX_VMDQ_ONLY)
[...]
+		else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#392: FILE: drivers/net/txgbe/txgbe_rxtx.c:2822:
+		else {

CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#397: FILE: drivers/net/txgbe/txgbe_rxtx.c:2827:
+		switch (RTE_ETH_DEV_SRIOV(dev).active) {
+

total: 0 errors, 1 warnings, 3 checks, 354 lines checked


More information about the test-report mailing list