automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw47745 [11/12] examples/ip_pipeline: support table rule show
       [not found] <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com>
@ 2018-11-05  8:58 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-11-05  8:58 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-05  8:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com>
2018-11-05  8:58 ` [dpdk-test-report] |WARNING| pw47745 [11/12] examples/ip_pipeline: support table rule show 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).