[dpdk-test-report] |WARNING| pw70659 [PATCH v1 1/3] common/mlx5: move glue files under Linux directory

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 27 18:15:09 CEST 2020


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#585: FILE: drivers/common/mlx5/linux/mlx5_glue.c:192:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#656: FILE: drivers/common/mlx5/linux/mlx5_glue.c:263:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#671: FILE: drivers/common/mlx5/linux/mlx5_glue.c:278:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#684: FILE: drivers/common/mlx5/linux/mlx5_glue.c:291:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#709: FILE: drivers/common/mlx5/linux/mlx5_glue.c:316:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#724: FILE: drivers/common/mlx5/linux/mlx5_glue.c:331:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#741: FILE: drivers/common/mlx5/linux/mlx5_glue.c:348:
+	return ENOTSUP;

total: 0 errors, 7 warnings, 2082 lines checked


More information about the test-report mailing list