automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw140543 [PATCH v2 3/4] lib/ethdev: add support for displaying lanes capability
       [not found] <20240602024504.179506-4-damodharam.ammepalli@broadcom.com>
@ 2024-06-02  2:47 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-06-02  2:47 UTC (permalink / raw)
  To: test-report; +Cc: Damodharam Ammepalli

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

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

only message in thread, other threads:[~2024-06-02  2:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240602024504.179506-4-damodharam.ammepalli@broadcom.com>
2024-06-02  2:47 ` |WARNING| pw140543 [PATCH v2 3/4] lib/ethdev: add support for displaying lanes capability 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).