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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 9 16:52:20 CEST 2017


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#145: 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)
#150: 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)
#285: 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)
#333: 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)
#509: 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