[dpdk-test-report] |WARNING| pw29721 [PATCH v2 29/30] net/mlx5: support flow director

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Oct 5 14:57:29 CEST 2017


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#144: FILE: drivers/net/mlx5/mlx5_flow.c:2389:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#149: FILE: drivers/net/mlx5/mlx5_flow.c:2394:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#284: FILE: drivers/net/mlx5/mlx5_flow.c:2529:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#332: FILE: drivers/net/mlx5/mlx5_flow.c:2577:
+	return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#508: FILE: drivers/net/mlx5/mlx5_flow.c:2753:
+		return EINVAL;

total: 0 errors, 5 warnings, 0 checks, 535 lines checked


More information about the test-report mailing list