* |WARNING| pw159598 [PATCH v1 3/5] examples/flow_parsing: add flow parser demo
[not found] <20260105213025.749383-4-sismis@dyna-nic.com>
@ 2026-01-05 21:34 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2026-01-05 21:34 UTC (permalink / raw)
To: test-report; +Cc: Lukas Sismis
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-05 21:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20260105213025.749383-4-sismis@dyna-nic.com>
2026-01-05 21:34 ` |WARNING| pw159598 [PATCH v1 3/5] examples/flow_parsing: add flow parser demo checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).