[dpdk-test-report] |WARNING| pw23885 [PATCH] custom align for mempool elements

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 26 06:02:26 CEST 2017


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

_coding style issues_


WARNING:TYPO_SPELLING: 'aligment' may be misspelled - perhaps 'alignment'?
#45: FILE: lib/librte_mempool/rte_mempool.c:513:
+mempool_default_elt_aligment(void)

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 19)
#48: FILE: lib/librte_mempool/rte_mempool.c:516:
+	if (rte_xen_dom0_supported()) {
+		   align = RTE_PGSIZE_2M;;

WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon
#49: FILE: lib/librte_mempool/rte_mempool.c:517:
+		   align = RTE_PGSIZE_2M;;

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 19)
#50: FILE: lib/librte_mempool/rte_mempool.c:518:
+	} else if (rte_eal_has_hugepages()) {
+		   align = RTE_CACHE_LINE_SIZE;

WARNING:TYPO_SPELLING: 'aligment' may be misspelled - perhaps 'alignment'?
#104: FILE: lib/librte_mempool/rte_mempool.c:842:
+	mp->elt_align = mempool_default_elt_aligment();

total: 0 errors, 5 warnings, 85 lines checked


More information about the test-report mailing list