|WARNING| pw163746 [RFC v2 2/4] flow_compile: introduce textual flow rule compiler

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 7 02:15:12 CEST 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#850: FILE: lib/flow_compile/flow_compile_setters.c:13:
+#include <stdio.h>
           ^^^^^

WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#1495: FILE: lib/flow_compile/flow_compile_tables.c:136:
+	ITEM("eth",		RTE_FLOW_ITEM_TYPE_ETH,		struct rte_flow_item_eth,	eth_fields),

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#1496: FILE: lib/flow_compile/flow_compile_tables.c:137:
+	ITEM("vlan",		RTE_FLOW_ITEM_TYPE_VLAN,	struct rte_flow_item_vlan,	vlan_fields),

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#1497: FILE: lib/flow_compile/flow_compile_tables.c:138:
+	ITEM("ipv4",		RTE_FLOW_ITEM_TYPE_IPV4,	struct rte_flow_item_ipv4,	ipv4_fields),

WARNING:LONG_LINE: line length of 109 exceeds 100 columns
#1498: FILE: lib/flow_compile/flow_compile_tables.c:139:
+	ITEM("ipv6",		RTE_FLOW_ITEM_TYPE_IPV6,	struct rte_flow_item_ipv6,	ipv6_fields),

WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#1499: FILE: lib/flow_compile/flow_compile_tables.c:140:
+	ITEM("tcp",		RTE_FLOW_ITEM_TYPE_TCP,		struct rte_flow_item_tcp,	tcp_fields),

WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#1500: FILE: lib/flow_compile/flow_compile_tables.c:141:
+	ITEM("udp",		RTE_FLOW_ITEM_TYPE_UDP,		struct rte_flow_item_udp,	udp_fields),

WARNING:LONG_LINE: line length of 110 exceeds 100 columns
#1501: FILE: lib/flow_compile/flow_compile_tables.c:142:
+	ITEM("vxlan",		RTE_FLOW_ITEM_TYPE_VXLAN,	struct rte_flow_item_vxlan,	vxlan_fields),

WARNING:LONG_LINE: line length of 112 exceeds 100 columns
#1502: FILE: lib/flow_compile/flow_compile_tables.c:143:
+	ITEM("port_id",		RTE_FLOW_ITEM_TYPE_PORT_ID,	struct rte_flow_item_port_id,	port_id_fields),

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#1806: FILE: lib/flow_compile/rte_flow_compile_api.c:6:
+#include <stdio.h>
           ^^^^^

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1822: FILE: lib/flow_compile/rte_flow_compile_api.c:22:
+int   flow_compile_yylex_init_extra(struct flow_compile_ctx *cc,

WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#1824: FILE: lib/flow_compile/rte_flow_compile_api.c:24:
+int   flow_compile_yylex_destroy(yyscan_t scanner);

total: 0 errors, 12 warnings, 1771 lines checked


More information about the test-report mailing list