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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 20 18:20:25 CET 2023


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.k'
#394: 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'
#404: 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'
#412: 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'
#419: 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