* [dpdk-test-report] |WARNING| pw32429 [PATCH RFC 14/23] eal/memory: add support for dynamic unmapping of pages
[not found] <a7e07dd2a7473e34e3c7020adecf0322b0851bd6.1513594170.git.anatoly.burakov@intel.com>
@ 2017-12-19 11:06 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-19 11:06 UTC (permalink / raw)
To: test-report; +Cc: Anatoly Burakov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32429
_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:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <a7e07dd2a7473e34e3c7020adecf0322b0851bd6.1513594170.git.anatoly.burakov@intel.com>
2017-12-19 11:06 ` [dpdk-test-report] |WARNING| pw32429 [PATCH RFC 14/23] eal/memory: 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).