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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 9 13:02:14 CEST 2026


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

_coding style issues_


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

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

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

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

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

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

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

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


More information about the test-report mailing list