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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue May 9 10:50:28 CEST 2017


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

_coding style issues_


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

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

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

total: 0 errors, 3 warnings, 275 lines checked


More information about the test-report mailing list