|WARNING| pw168101 [PATCH v1 02/21] net/intel/common: add flow engines infrastructure

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 20 16:03:02 CEST 2026


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

_coding style issues_


WARNING:LONG_LINE_COMMENT: line length of 120 exceeds 100 columns
#280: FILE: drivers/net/intel/common/flow_engine.h:165:
+ *   [flow_alloc] -> ctx_parse -> [pattern_parse] -> [graph parser] -> [ctx_validate] -> [ctx_to_flow] -> [flow_install]

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

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

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

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

total: 0 errors, 3 warnings, 2 checks, 1373 lines checked


More information about the test-report mailing list