* [dpdk-test-report] |WARNING| pw23279 [PATCH 1/2] eal/ppc: fix mmap for memory initialization
[not found] <1491473170-25160-2-git-send-email-chaozhu@linux.vnet.ibm.com>
@ 2017-04-06 10:06 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-04-06 10:06 UTC (permalink / raw)
To: test-report; +Cc: Chao Zhu
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/23279
_coding style issues_
WARNING:TYPO_SPELLING: 'initilization' may be misspelled - perhaps 'initialization'?
#17:
the memory initilization for the second process fails. This patch adds
WARNING:TYPO_SPELLING: 'initilization' may be misspelled - perhaps 'initialization'?
#20:
doing the initilization, users need to set both nr_hugepages and
WARNING:LONG_LINE: line over 90 characters
#39: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:319:
+ (*size) + hugepage_sz, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, fd, 0);
ERROR:CODE_INDENT: code indent should use tabs where possible
#39: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:319:
+ (*size) + hugepage_sz, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, fd, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#39: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:319:
+ (*size) + hugepage_sz, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, fd, 0);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#51: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1340:
+ PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, fd_zero, 0);$
WARNING:LEADING_SPACE: please, no spaces at the start of a line
#51: FILE: lib/librte_eal/linuxapp/eal/eal_memory.c:1340:
+ PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, fd_zero, 0);$
total: 2 errors, 5 warnings, 22 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-06 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1491473170-25160-2-git-send-email-chaozhu@linux.vnet.ibm.com>
2017-04-06 10:06 ` [dpdk-test-report] |WARNING| pw23279 [PATCH 1/2] eal/ppc: fix mmap for memory initialization checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).