From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A31864412D for ; Sun, 2 Jun 2024 04:47:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EC81402BD; Sun, 2 Jun 2024 04:47:29 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 5B94C4028A for ; Sun, 2 Jun 2024 04:47:28 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 3CA1E12367B; Sun, 2 Jun 2024 04:47:28 +0200 (CEST) Subject: |WARNING| pw140543 [PATCH v2 3/4] lib/ethdev: add support for displaying lanes capability In-Reply-To: <20240602024504.179506-4-damodharam.ammepalli@broadcom.com> References: <20240602024504.179506-4-damodharam.ammepalli@broadcom.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Damodharam Ammepalli Message-Id: <20240602024728.3CA1E12367B@dpdk.org> Date: Sun, 2 Jun 2024 04:47:28 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/140543 _coding style issues_ ERROR:CODE_INDENT: code indent should use tabs where possible #159: FILE: lib/ethdev/rte_ethdev.c:7027: + struct rte_eth_dev *dev;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #159: FILE: lib/ethdev/rte_ethdev.c:7027: + struct rte_eth_dev *dev;$ ERROR:CODE_INDENT: code indent should use tabs where possible #161: FILE: lib/ethdev/rte_ethdev.c:7029: + RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV);$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #161: FILE: lib/ethdev/rte_ethdev.c:7029: + RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -ENODEV);$ ERROR:CODE_INDENT: code indent should use tabs where possible #162: FILE: lib/ethdev/rte_ethdev.c:7030: + dev = &rte_eth_devices[port_id];$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #162: FILE: lib/ethdev/rte_ethdev.c:7030: + dev = &rte_eth_devices[port_id];$ ERROR:CODE_INDENT: code indent should use tabs where possible #164: FILE: lib/ethdev/rte_ethdev.c:7032: + if (*dev->dev_ops->speed_lanes_get == NULL)$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #164: FILE: lib/ethdev/rte_ethdev.c:7032: + if (*dev->dev_ops->speed_lanes_get == NULL)$ ERROR:CODE_INDENT: code indent should use tabs where possible #165: FILE: lib/ethdev/rte_ethdev.c:7033: + return -ENOTSUP;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #165: FILE: lib/ethdev/rte_ethdev.c:7033: + return -ENOTSUP;$ ERROR:CODE_INDENT: code indent should use tabs where possible #166: FILE: lib/ethdev/rte_ethdev.c:7034: + return eth_err(port_id, (*dev->dev_ops->speed_lanes_get_capa)(dev, speed_lanes_bmap));$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #166: FILE: lib/ethdev/rte_ethdev.c:7034: + return eth_err(port_id, (*dev->dev_ops->speed_lanes_get_capa)(dev, speed_lanes_bmap));$ WARNING:SPACE_BEFORE_TAB: please, no space before tabs #185: FILE: lib/ethdev/rte_ethdev.h:316: +#define LANE_2 ^IRTE_BIT32(2)$ WARNING:SPACE_BEFORE_TAB: please, no space before tabs #186: FILE: lib/ethdev/rte_ethdev.h:317: +#define LANE_4 ^IRTE_BIT32(4)$ WARNING:SPACE_BEFORE_TAB: please, no space before tabs #187: FILE: lib/ethdev/rte_ethdev.h:318: +#define LANE_8 ^IRTE_BIT32(8)$ total: 6 errors, 9 warnings, 103 lines checked