|WARNING| pw136600 [PATCH v3 2/2] net/mlx5: improve pattern template validation

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Feb 12 15:01:28 CET 2024


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

_coding style issues_


CHECK:BRACES: braces {} should be used on all arms of this statement
#183: FILE: drivers/net/mlx5/mlx5_flow_hw.c:6864:
+	if (pt[0]->attr.ingress)
[...]
+	else if (pt[0]->attr.egress)
[...]
+	else if (pt[0]->attr.transfer)
[...]
+	else {
[...]

CHECK:BRACES: Unbalanced braces around else statement
#189: FILE: drivers/net/mlx5/mlx5_flow_hw.c:6870:
+	else {

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#283: FILE: drivers/net/mlx5/mlx5_flow_hw.c:9292:
+	if (priv->sh->config.dv_esw_en && priv->master) {

total: 0 errors, 1 warnings, 2 checks, 166 lines checked


More information about the test-report mailing list