|WARNING| pw159598 [PATCH v1 3/5] examples/flow_parsing: add flow parser demo

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 5 22:34:00 CET 2026


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

_coding style issues_


WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#141: FILE: examples/flow_parsing/main.c:27:
+#include <stdio.h>
           ^^^^^

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#285: FILE: examples/flow_parsing/main.c:171:
+	static const char *attr_strings[] = {

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#303: FILE: examples/flow_parsing/main.c:189:
+		if (ret == 0) {
[...]
+		} else {
[...]

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#318: FILE: examples/flow_parsing/main.c:204:
+	static const char *pattern_strings[] = {

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#337: FILE: examples/flow_parsing/main.c:223:
+		if (ret == 0) {
[...]
+		} else {
[...]

WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#352: FILE: examples/flow_parsing/main.c:238:
+	static const char *action_strings[] = {

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#371: FILE: examples/flow_parsing/main.c:257:
+		if (ret == 0) {
[...]
+		} else {
[...]

WARNING:TYPO_SPELLING: 'nIn' may be misspelled - perhaps 'inn'?
#433: FILE: examples/flow_parsing/main.c:319:
+	printf("
In a real application, copy pattern/actions to your own storage,
");
 	         ^^^

total: 0 errors, 8 warnings, 366 lines checked


More information about the test-report mailing list