|WARNING| pw122459 [PATCH v3 4/8] ethdev: use GRE protocol struct for flow matching

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 24 10:06:52 CET 2023


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.k'
#393: FILE: drivers/net/mlx5/mlx5_flow.c:3092:
+	if (gre_spec && (gre_mask->hdr.k) && !(gre_spec->hdr.k))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.c'
#403: FILE: drivers/net/mlx5/mlx5_flow.c:3167:
+		if (gre_spec && (gre_mask->hdr.c) && !(gre_spec->hdr.c))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.k'
#411: FILE: drivers/net/mlx5/mlx5_flow.c:3173:
+		if (gre_spec && (gre_mask->hdr.k) && !(gre_spec->hdr.k))

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.s'
#418: FILE: drivers/net/mlx5/mlx5_flow.c:3178:
+		if (gre_spec && (gre_mask->hdr.s) && !(gre_spec->hdr.s))

total: 0 errors, 0 warnings, 390 lines checked


More information about the test-report mailing list