[dpdk-test-report] |WARNING| pw64963 [PATCH v1 28/38] vdpa/mlx5: add basic steering configurations

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 20 18:09:06 CET 2020


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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#187: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:18:
+	unsigned i;

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#265: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:96:
+		return -ENOMEM;
 		       ^

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#355: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:186:
+	unsigned i;

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#405: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:236:
+	return -1;
 	       ^

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#408: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:239:
+	return -ENOTSUP;
 	       ^

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#417: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:248:
+		return -1;
 		       ^

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#434: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:265:
+	return -1;
 	       ^

ERROR:SPACING: need consistent spacing around '-' (ctx:WxV)
#437: FILE: drivers/vdpa/mlx5/mlx5_vdpa_steer.c:268:
+	return -ENOTSUP;
 	       ^

total: 6 errors, 2 warnings, 343 lines checked


More information about the test-report mailing list