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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 2 13:47:15 CET 2023


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'gre_mask->hdr.k'
#397: 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'
#407: 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'
#415: 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'
#422: FILE: drivers/net/mlx5/mlx5_flow.c:3178:
+		if (gre_spec && (gre_mask->hdr.s) && !(gre_spec->hdr.s))

total: 0 errors, 0 warnings, 414 lines checked


More information about the test-report mailing list