From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 7F4675F0F; Mon, 5 Nov 2018 09:58:08 +0100 (CET) In-Reply-To: <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com> References: <1541158623-29742-11-git-send-email-cristian.dumitrescu@intel.com> To: test-report@dpdk.org Cc: Cristian Dumitrescu Message-Id: <20181105085808.7F4675F0F@dpdk.org> Date: Mon, 5 Nov 2018 09:58:08 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw47745 [11/12] examples/ip_pipeline: support table rule show X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2018 08:58:08 -0000 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