* [dpdk-test-report] |WARNING| pw32460 [PATCH RFC v2 14/23] eal: add support for dynamic unmapping of pages
[not found] <bc77dcd45d3d4ca301fc4753bec25e5db93e94ec.1513681966.git.anatoly.burakov@intel.com>
@ 2017-12-19 11:15 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-19 11:15 UTC (permalink / raw)
To: test-report; +Cc: Anatoly Burakov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32460
_coding style issues_
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#66: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:282:
+static int
+free_page(struct rte_memseg *ms, struct hugepage_info *hi, unsigned list_idx,
+ unsigned seg_idx) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#67: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:283:
+free_page(struct rte_memseg *ms, struct hugepage_info *hi, unsigned list_idx,
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#68: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:284:
+ unsigned seg_idx) {
WARNING:BRACES: braces {} are not necessary for single statement blocks
#108: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:324:
+ if (is_zero_length(fd)) {
+ unlink(path);
+ }
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#167: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:500:
+int
+eal_memalloc_free_page(struct rte_memseg *ms) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#171: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:504:
+ unsigned msl_idx, seg_idx;
total: 2 errors, 4 warnings, 171 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-19 11:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bc77dcd45d3d4ca301fc4753bec25e5db93e94ec.1513681966.git.anatoly.burakov@intel.com>
2017-12-19 11:15 ` [dpdk-test-report] |WARNING| pw32460 [PATCH RFC v2 14/23] eal: add support for dynamic unmapping of pages 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).