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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Feb 2 16:08:27 CET 2024


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#186: FILE: drivers/net/mlx5/mlx5_flow_hw.c:6869:
+		return EINVAL;

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

total: 0 errors, 2 warnings, 0 checks, 172 lines checked


More information about the test-report mailing list