|WARNING| pw170805 [PATCH v5 03/25] net/intel/common: add flow engines infrastructure

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 7 12:54:03 CEST 2026


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'engine->ops->flow_alloc == NULL'
#617: 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'
#617: 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'
#620: 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'
#620: 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'?
#665: FILE: drivers/net/intel/common/flow_engine.h:541:
+		/* initialize the commont part */
 		                  ^^^^^^^

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

WARNING:TYPO_SPELLING: 'clen' may be misspelled - perhaps 'clean'?
#1417: 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