[dpdk-test-report] |WARNING| pw63023 [PATCH] net/mlx5: fix flow table hash list conversion

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 14 17:23:18 CET 2019


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

_coding style issues_


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

WARNING:BRACES: braces {} are not necessary for single statement blocks
#174: FILE: drivers/net/mlx5/mlx5.c:817:
+	if (err) {
+		goto error;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#187: FILE: drivers/net/mlx5/mlx5.c:830:
+	if (err) {
+		goto error;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#201: FILE: drivers/net/mlx5/mlx5.c:844:
+	if (err) {
+		goto error;
+	}

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#212: FILE: drivers/net/mlx5/mlx5.c:855:
+
+}

total: 0 errors, 4 warnings, 1 checks, 312 lines checked


More information about the test-report mailing list