[dpdk-test-report] |WARNING| pw25043 [PATCH v3 2/2] contigmem: don't zero the pages during each mmap

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Jun 4 08:06:42 CEST 2017


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EBUSY)
#155: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:209:
+		return EBUSY;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#320: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:369:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#324: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:373:
+		return ENOMEM;

total: 0 errors, 3 warnings, 288 lines checked


More information about the test-report mailing list