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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 26 14:20:14 CET 2023


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

_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, 406 lines checked


More information about the test-report mailing list