[dpdk-test-report] |WARNING| pw81548 [PATCH v2 44/62] net/sfc: support flow action PORT ID in transfer rules

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 11:34:47 CEST 2020


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

_coding style issues_


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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOENT)
#252: FILE: drivers/net/sfc/sfc_switch.c:318:
+	return ENOENT;

total: 0 errors, 3 warnings, 0 checks, 160 lines checked


More information about the test-report mailing list