|WARNING| pw130096 [PATCH 2/2] net/sfc: support updating indirect VXLAN encap action

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 10 20:08:10 CEST 2023


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

_coding style issues_


ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#100: FILE: drivers/common/sfc_efx/base/efx_mae.c:2948:
+	return (rc);

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#259: FILE: drivers/net/sfc/sfc_mae.c:763:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#263: FILE: drivers/net/sfc/sfc_mae.c:767:
+		return ENOMEM;

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


More information about the test-report mailing list