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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 22 11:17:26 CEST 2017


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

_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)
#317: FILE: lib/librte_eal/bsdapp/contigmem/contigmem.c:366:
+		return EINVAL;

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

total: 0 errors, 3 warnings, 285 lines checked


More information about the test-report mailing list