[dpdk-test-report] |WARNING| pw47745 [11/12] examples/ip_pipeline: support table rule show
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 5 09:58:08 CET 2018
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
More information about the test-report
mailing list