|WARNING| pw169237 [PATCH v2 02/19] net/intel/common: add flow engines infrastructure

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 8 17:24:33 CEST 2026


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

_coding style issues_


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

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

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

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

WARNING:LONG_LINE_COMMENT: line length of 102 exceeds 100 columns
#934: FILE: drivers/net/intel/common/flow_engine.h:812:
+/* check whether a flow is valid for a specific engine configuration - caller must hold config lock */

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

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

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


More information about the test-report mailing list