|WARNING| pw170576 [PATCH v4 03/24] net/intel/common: add flow engines infrastructure

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 5 18:45:43 CEST 2026


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'engine->ops->flow_alloc == NULL'
#618: FILE: drivers/net/intel/common/flow_engine.h:493:
+	if ((engine->ops->flow_alloc == NULL) != (engine->ops->flow_free == NULL))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'engine->ops->flow_free == NULL'
#618: FILE: drivers/net/intel/common/flow_engine.h:493:
+	if ((engine->ops->flow_alloc == NULL) != (engine->ops->flow_free == NULL))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'engine->ops->flow_register == NULL'
#621: FILE: drivers/net/intel/common/flow_engine.h:496:
+	if ((engine->ops->flow_register == NULL) != (engine->ops->flow_unregister == NULL))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'engine->ops->flow_unregister == NULL'
#621: FILE: drivers/net/intel/common/flow_engine.h:496:
+	if ((engine->ops->flow_register == NULL) != (engine->ops->flow_unregister == NULL))

WARNING:TYPO_SPELLING: 'commont' may be misspelled - perhaps 'common'?
#666: FILE: drivers/net/intel/common/flow_engine.h:541:
+		/* initialize the commont part */
 		                  ^^^^^^^

WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#1413: FILE: drivers/net/intel/common/flow_engine.h:1288:
+		const size_t clen =
 		             ^^^^

WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#1418: FILE: drivers/net/intel/common/flow_engine.h:1293:
+		rte_memdump(file, title, raw + off, clen);
 		                                    ^^^^

total: 0 errors, 3 warnings, 4 checks, 1429 lines checked


More information about the test-report mailing list