[dpdk-test-report] |WARNING| pw31855 [PATCH] mmap(2) returns MAP_FAILED not NULL on failure

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 1 07:52:34 CET 2017


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

_coding style issues_


WARNING:LEADING_SPACE: please, no spaces at the start of a line
#27: FILE: lib/librte_eal/bsdapp/eal/eal_memory.c:158:
+       if (hpi == MAP_FAILED) {$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (7, 14)
#27: FILE: lib/librte_eal/bsdapp/eal/eal_memory.c:158:
+       if (hpi == MAP_FAILED) {
               RTE_LOG(ERR, EAL, "Could not mmap %s
", eal_hugepage_info_path());

total: 0 errors, 2 warnings, 8 lines checked


More information about the test-report mailing list