[dpdk-test-report] |WARNING| pw65296 [PATCH v2 08/13] vdpa/mlx5: add basic steering configurations

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 29 11:11:30 CET 2020


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

_coding style issues_


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

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

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

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

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

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

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

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

total: 6 errors, 2 warnings, 338 lines checked


More information about the test-report mailing list