From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AFC5DA0679 for ; Fri, 5 Apr 2019 15:55:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A61261B50C; Fri, 5 Apr 2019 15:55:50 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id D2B281B513; Fri, 5 Apr 2019 15:55:48 +0200 (CEST) In-Reply-To: <20190405135441.40049-1-jasvinder.singh@intel.com> References: <20190405135441.40049-1-jasvinder.singh@intel.com> To: test-report@dpdk.org Cc: Jasvinder Singh Message-Id: <20190405135548.D2B281B513@dpdk.org> Date: Fri, 5 Apr 2019 15:55:48 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw52348 [PATCH v3] meter: replace color definitions with rte_color values 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: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/52348 _coding style issues_ WARNING:LONG_LINE: line over 90 characters #776: FILE: drivers/net/softnic/rte_eth_softnic_flow.c:1628: + softnic_table_action_policer(m->params.action[RTE_COLOR_GREEN]); WARNING:LONG_LINE: line over 90 characters #778: FILE: drivers/net/softnic/rte_eth_softnic_flow.c:1630: + softnic_table_action_policer(m->params.action[RTE_COLOR_YELLOW]); WARNING:LONG_LINE: line over 90 characters #780: FILE: drivers/net/softnic/rte_eth_softnic_flow.c:1632: + softnic_table_action_policer(m->params.action[RTE_COLOR_RED]); WARNING:LONG_LINE: line over 90 characters #1070: FILE: examples/qos_meter/rte_policer.c:19: + if ((pre_meter > RTE_COLOR_RED) || (post_meter > RTE_COLOR_RED) || (pre_meter > post_meter)) { WARNING:BRACES: braces {} are not necessary for single statement blocks #1070: FILE: examples/qos_meter/rte_policer.c:19: + if ((pre_meter > RTE_COLOR_RED) || (post_meter > RTE_COLOR_RED) || (pre_meter > post_meter)) { return -2; } WARNING:LONG_LINE: line over 90 characters #1103: FILE: examples/qos_meter/rte_policer.h:27: +policer_run(struct rte_phb *phb_table, uint32_t phb_table_index, enum rte_color pre_meter, enum rte_color post_meter) WARNING:LONG_LINE_COMMENT: line over 90 characters #1811: FILE: lib/librte_sched/rte_sched.h:208: + struct rte_red_params red_params[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE][RTE_COLORS]; /**< RED parameters */ total: 0 errors, 7 warnings, 1546 lines checked