* |WARNING| pw114643 [PATCH 20/21] net/softnic: add pipeline mirroring CLI command
[not found] <20220804165839.1074817-21-cristian.dumitrescu@intel.com>
@ 2022-08-04 17:03 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-08-04 17:03 UTC (permalink / raw)
To: test-report; +Cc: Cristian Dumitrescu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/114643
_coding style issues_
WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#84: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:2116:
+ * ^Itruncate <truncation_length>$
CHECK:BRACES: braces {} should be used on all arms of this statement
#144: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:2176:
+ if (!strcmp(tokens[8], "fast"))
[...]
+ else if (!strcmp(tokens[8], "slow"))
[...]
+ else {
[...]
CHECK:BRACES: Unbalanced braces around else statement
#148: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:2180:
+ else {
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'n_tokens >= 4'
#178: FILE: drivers/net/softnic/rte_eth_softnic_cli.c:2487:
+ if ((n_tokens >= 4) &&
+ !strcmp(tokens[2], "mirror") &&
+ !strcmp(tokens[3], "session")) {
total: 0 errors, 1 warnings, 3 checks, 108 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-04 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220804165839.1074817-21-cristian.dumitrescu@intel.com>
2022-08-04 17:03 ` |WARNING| pw114643 [PATCH 20/21] net/softnic: add pipeline mirroring CLI command 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).