From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Subject: [dpdk-test-report] |WARNING| pw47745 [11/12] examples/ip_pipeline: support table rule show
Date: Mon, 5 Nov 2018 09:58:08 +0100 (CET) [thread overview]
Message-ID: <20181105085808.7F4675F0F@dpdk.org> (raw)
In-Reply-To: <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/47745
_coding style issues_
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#67: FILE: examples/ip_pipeline/cli.c:4776:
+static const char *
+policer_action_string(enum rte_table_action_policer action) {
ERROR:SWITCH_CASE_INDENT_LEVEL: switch and case should be at the same indent
#69: FILE: examples/ip_pipeline/cli.c:4778:
+ switch (action) {
+ case RTE_TABLE_ACTION_POLICER_COLOR_GREEN: return "G";
+ case RTE_TABLE_ACTION_POLICER_COLOR_YELLOW: return "Y";
+ case RTE_TABLE_ACTION_POLICER_COLOR_RED: return "R";
+ case RTE_TABLE_ACTION_POLICER_DROP: return "D";
+ default: return "?";
total: 2 errors, 0 warnings, 456 lines checked
parent reply other threads:[~2018-11-05 8:58 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181105085808.7F4675F0F@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=cristian.dumitrescu@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).