[dpdk-test-report] |WARNING| pw64970 [PATCH v1 33/38] mlx5: skip probing according to the vDPA mode

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 20 18:10:56 CET 2020


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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#183: FILE: drivers/net/mlx5/mlx5.c:2959:
+        if (mlx5_vdpa_mode_selected(pci_dev->device.devargs)) {$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#183: FILE: drivers/net/mlx5/mlx5.c:2959:
+        if (mlx5_vdpa_mode_selected(pci_dev->device.devargs)) {$

ERROR:CODE_INDENT: code indent should use tabs where possible
#184: FILE: drivers/net/mlx5/mlx5.c:2960:
+                DRV_LOG(DEBUG, "Skip probing - should be probed by the vdpa"$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#184: FILE: drivers/net/mlx5/mlx5.c:2960:
+                DRV_LOG(DEBUG, "Skip probing - should be probed by the vdpa"$

ERROR:CODE_INDENT: code indent should use tabs where possible
#185: FILE: drivers/net/mlx5/mlx5.c:2961:
+                        " driver.");$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#185: FILE: drivers/net/mlx5/mlx5.c:2961:
+                        " driver.");$

ERROR:CODE_INDENT: code indent should use tabs where possible
#186: FILE: drivers/net/mlx5/mlx5.c:2962:
+                return 1;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#186: FILE: drivers/net/mlx5/mlx5.c:2962:
+                return 1;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#187: FILE: drivers/net/mlx5/mlx5.c:2963:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#187: FILE: drivers/net/mlx5/mlx5.c:2963:
+        }$

ERROR:CODE_INDENT: code indent should use tabs where possible
#188: FILE: drivers/net/mlx5/mlx5.c:2964:
+ ^Iif (rte_eal_process_type() == RTE_PROC_PRIMARY)$

WARNING:SPACE_BEFORE_TAB: please, no space before tabs
#188: FILE: drivers/net/mlx5/mlx5.c:2964:
+ ^Iif (rte_eal_process_type() == RTE_PROC_PRIMARY)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#188: FILE: drivers/net/mlx5/mlx5.c:2964:
+ ^Iif (rte_eal_process_type() == RTE_PROC_PRIMARY)$

total: 6 errors, 7 warnings, 109 lines checked
ERROR: symbol mlx5_vdpa_mode_selected is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map


More information about the test-report mailing list