[dpdk-test-report] |WARNING| pw75252 [RFC] drivers: introduce mlx5 compress PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 6 17:36:59 CEST 2020


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/75252

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#353: FILE: drivers/compress/mlx5/mlx5_compress.c:25:
+        TAILQ_ENTRY(mlx5_compress_priv) next;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#353: FILE: drivers/compress/mlx5/mlx5_compress.c:25:
+        TAILQ_ENTRY(mlx5_compress_priv) next;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#354: FILE: drivers/compress/mlx5/mlx5_compress.c:26:
+        struct ibv_context *ctx; /* Device context. */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#354: FILE: drivers/compress/mlx5/mlx5_compress.c:26:
+        struct ibv_context *ctx; /* Device context. */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#355: FILE: drivers/compress/mlx5/mlx5_compress.c:27:
+        struct rte_pci_device *pci_dev;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#355: FILE: drivers/compress/mlx5/mlx5_compress.c:27:
+        struct rte_pci_device *pci_dev;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#356: FILE: drivers/compress/mlx5/mlx5_compress.c:28:
+        struct rte_compressdev *cdev;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#356: FILE: drivers/compress/mlx5/mlx5_compress.c:28:
+        struct rte_compressdev *cdev;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#357: FILE: drivers/compress/mlx5/mlx5_compress.c:29:
+        struct mlx5dv_devx_uar *uar;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#357: FILE: drivers/compress/mlx5/mlx5_compress.c:29:
+        struct mlx5dv_devx_uar *uar;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#358: FILE: drivers/compress/mlx5/mlx5_compress.c:30:
+        uint32_t eqn;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#358: FILE: drivers/compress/mlx5/mlx5_compress.c:30:
+        uint32_t eqn;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#359: FILE: drivers/compress/mlx5/mlx5_compress.c:31:
+        uint32_t pdn; /* Protection Domain number. */$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#359: FILE: drivers/compress/mlx5/mlx5_compress.c:31:
+        uint32_t pdn; /* Protection Domain number. */$

ERROR:CODE_INDENT: code indent should use tabs where possible
#360: FILE: drivers/compress/mlx5/mlx5_compress.c:32:
+        struct ibv_pd *pd;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#360: FILE: drivers/compress/mlx5/mlx5_compress.c:32:
+        struct ibv_pd *pd;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#364: FILE: drivers/compress/mlx5/mlx5_compress.c:36:
+                                TAILQ_HEAD_INITIALIZER(mlx5_compress_priv_list);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#364: FILE: drivers/compress/mlx5/mlx5_compress.c:36:
+                                TAILQ_HEAD_INITIALIZER(mlx5_compress_priv_list);$

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#513: FILE: drivers/compress/mlx5/mlx5_compress.c:185:
+		return -rte_errno;
+	} else {

total: 9 errors, 10 warnings, 522 lines checked


More information about the test-report mailing list