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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 10:59:46 CEST 2020


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#238: 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)
#242: 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)
#251: 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