|WARNING| pw153047 [PATCH v7 2/5] graph: add feature arc abstraction

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Apr 19 09:12:24 CEST 2025


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

_coding style issues_


WARNING:REPEATED_WORD: Possible repeated word: 'in'
#94: 
  nodes can also be hooked (with no custom changes in in-built nodes)

WARNING:TYPO_SPELLING: 'THRID' may be misspelled - perhaps 'THIRD'?
#1816: FILE: lib/graph/graph_feature_arc.c:1664:
+		rte_rcu_qsbr_synchronize(qsbr, RTE_QSBR_THRID_INVALID);

WARNING:TYPO_SPELLING: 'THRID' may be misspelled - perhaps 'THIRD'?
#1905: FILE: lib/graph/graph_feature_arc.c:1753:
+		rte_rcu_qsbr_synchronize(qsbr, RTE_QSBR_THRID_INVALID);

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#2258: FILE: lib/graph/rte_graph_feature_arc.h:13:
+#include <stdio.h>

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#2563: FILE: lib/graph/rte_graph_feature_arc.h:318:
+#define RTE_GRAPH_FEATURE_REGISTER(reg)                                                 \
+	RTE_INIT(__rte_graph_feature_register_##reg)                                    \
+	{                                                                               \
+		__rte_graph_feature_register(&reg, __func__, __LINE__);                 \
+	}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#2570: FILE: lib/graph/rte_graph_feature_arc.h:325:
+#define RTE_GRAPH_FEATURE_ARC_REGISTER(reg)                                             \
+	RTE_INIT(__rte_graph_feature_arc_register_##reg)                                \
+	{                                                                               \
+		__rte_graph_feature_arc_register(&reg, __func__, __LINE__);             \
+	}

total: 2 errors, 4 warnings, 3336 lines checked


More information about the test-report mailing list