|WARNING| pw159929 [PATCH 2/8] net/nfb: create ethdev for every eth port/channel

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 15 16:18:36 CET 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'informations' may be misspelled - perhaps 'information'?
#73: 
informations.
^^^^^^^^^^^^

ERROR:CODE_INDENT: code indent should use tabs where possible
#149: FILE: drivers/net/nfb/nfb_ethdev.c:30:
+                TAILQ_HEAD_INITIALIZER(nfb_eth_dev_list);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#149: FILE: drivers/net/nfb/nfb_ethdev.c:30:
+                TAILQ_HEAD_INITIALIZER(nfb_eth_dev_list);$

WARNING:BRACES: braces {} are not necessary for single statement blocks
#233: FILE: drivers/net/nfb/nfb_ethdev.c:578:
+		if (mi->rxq[i].ifc == ifc->id) {
+			internals->queue_map_rx[cnt++] = mi->rxq[i].id;
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#242: FILE: drivers/net/nfb/nfb_ethdev.c:585:
+		if (mi->txq[i].ifc == ifc->id) {
+			internals->queue_map_tx[cnt++] = mi->txq[i].id;
+		}

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#319: FILE: drivers/net/nfb/nfb_ethdev.c:687:
+		ifc = params->ifc_info = &params->map_info.ifc[i];

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#362: FILE: drivers/net/nfb/nfb_ethdev.c:751:
+	 * find the base char device ID for the current PCI device */

total: 1 errors, 5 warnings, 1 checks, 300 lines checked


More information about the test-report mailing list