From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Anatoly Burakov <anatoly.burakov@intel.com>
Subject: [dpdk-test-report] |WARNING| pw32442 [PATCH RFC 17/23] eal/malloc: add backend support for contiguous memory
Date: Tue, 19 Dec 2017 12:11:45 +0100 (CET) [thread overview]
Message-ID: <20171219111145.BEBBD1B016@dpdk.org> (raw)
In-Reply-To: <c47cc71dad0e590077c0f87efbcaef71643454d2.1513594170.git.anatoly.burakov@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32442
_coding style issues_
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#40: FILE: lib/librte_eal/common/eal_common_memzone.c:130:
+ int socket_id, unsigned flags, unsigned align, unsigned bound,
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#40: FILE: lib/librte_eal/common/eal_common_memzone.c:130:
+ int socket_id, unsigned flags, unsigned align, unsigned bound,
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#40: FILE: lib/librte_eal/common/eal_common_memzone.c:130:
+ int socket_id, unsigned flags, unsigned align, unsigned bound,
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#59: FILE: lib/librte_eal/common/eal_common_memzone.c:255:
+ unsigned bound, bool contig)
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#120: FILE: lib/librte_eal/common/malloc_elem.c:130:
+static bool
+elem_check_phys_contig(const struct rte_memseg_list *msl, void *start,
+ size_t size) {
ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#202: FILE: lib/librte_eal/common/malloc_elem.c:195:
+ (void*) new_data_start, new_data_size)) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#273: FILE: lib/librte_eal/common/malloc_elem.h:152:
+ unsigned align, size_t bound, bool contig);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#282: FILE: lib/librte_eal/common/malloc_elem.h:160:
+ unsigned align, size_t bound, bool contig);
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#304: FILE: lib/librte_eal/common/malloc_heap.c:126:
+ unsigned flags, size_t align, size_t bound, bool contig)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#323: FILE: lib/librte_eal/common/malloc_heap.c:159:
+ unsigned flags, size_t align, size_t bound, bool contig)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#395: FILE: lib/librte_eal/common/malloc_heap.c:263:
+ unsigned flags, size_t align, size_t bound, bool contig) {
ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#533: FILE: lib/librte_eal/common/rte_malloc.c:65:
+static void *
+malloc_socket(const char *type, size_t size, unsigned align, int socket_arg,
+ bool contig) {
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#534: FILE: lib/librte_eal/common/rte_malloc.c:66:
+malloc_socket(const char *type, size_t size, unsigned align, int socket_arg,
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#552: FILE: lib/librte_eal/common/rte_malloc.c:93:
+rte_malloc_socket(const char *type, size_t size, unsigned align, int socket_arg)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#565: FILE: lib/librte_eal/common/rte_malloc.c:147:
+do_realloc(void *ptr, size_t size, unsigned align, bool contig)
WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#592: FILE: lib/librte_eal/common/rte_malloc.c:178:
+rte_realloc(void *ptr, size_t size, unsigned align)
total: 3 errors, 13 warnings, 504 lines checked
parent reply other threads:[~2017-12-19 11:11 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <c47cc71dad0e590077c0f87efbcaef71643454d2.1513594170.git.anatoly.burakov@intel.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171219111145.BEBBD1B016@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=anatoly.burakov@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).