[dpdk-test-report] |WARNING| pw62487 [PATCH] Working Towards Making DPDK Compile with Additional Warning Flags

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Nov 5 19:17:08 CET 2019


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

_coding style issues_


ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#126: FILE: lib/librte_cryptodev/rte_cryptodev.c:806:
+							(void*)dev, nb_qpairs);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#352: FILE: lib/librte_eal/common/eal_common_tailqs.c:68:
+			i, tailq->name, (void*)head->tqh_first, (void*)head->tqh_last);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#352: FILE: lib/librte_eal/common/eal_common_tailqs.c:68:
+			i, tailq->name, (void*)head->tqh_first, (void*)head->tqh_last);

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#411: FILE: lib/librte_eal/common/include/rte_bitmap.h:98:
+	uint32_t * __restrict array1_byte_offset, uint32_t * __restrict array1_slabs,

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#411: FILE: lib/librte_eal/common/include/rte_bitmap.h:98:
+	uint32_t * __restrict array1_byte_offset, uint32_t * __restrict array1_slabs,

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#412: FILE: lib/librte_eal/common/include/rte_bitmap.h:99:
+	uint32_t * __restrict array2_byte_offset, uint32_t * __restrict array2_slabs)

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#412: FILE: lib/librte_eal/common/include/rte_bitmap.h:99:
+	uint32_t * __restrict array2_byte_offset, uint32_t * __restrict array2_slabs)

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#514: FILE: lib/librte_eal/common/include/rte_hexdump.h:53:
+rte_memdump(FILE *f, const char * title, const void * buf, const unsigned int len);

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#514: FILE: lib/librte_eal/common/include/rte_hexdump.h:53:
+rte_memdump(FILE *f, const char * title, const void * buf, const unsigned int len);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#616: FILE: lib/librte_eal/common/malloc_elem.c:669:
+	fprintf(f, "Malloc element at %p (%s)
", (const void*)elem,

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#620: FILE: lib/librte_eal/common/malloc_elem.c:672:
+	fprintf(f, "  prev: %p next: %p
", (void*)elem->prev, (void*)elem->next);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#620: FILE: lib/librte_eal/common/malloc_elem.c:672:
+	fprintf(f, "  prev: %p next: %p
", (void*)elem->prev, (void*)elem->next);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#631: FILE: lib/librte_eal/linux/eal/eal.c:454:
+				"' option
", rte_mem_cfg_addr, (void*)mem_config);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#680: FILE: lib/librte_mbuf/rte_mbuf.c:477:
+	       (const void*)m, (uint64_t)m->buf_iova, (unsigned)m->buf_len);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#680: FILE: lib/librte_mbuf/rte_mbuf.c:477:
+	       (const void*)m, (uint64_t)m->buf_iova, (unsigned)m->buf_len);

WARNING:LONG_LINE: line over 90 characters
#689: FILE: lib/librte_mbuf/rte_mbuf.c:487:
+			(const void*)m, (void*)rte_pktmbuf_mtod(m, void *), (unsigned)m->data_len);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#689: FILE: lib/librte_mbuf/rte_mbuf.c:487:
+			(const void*)m, (void*)rte_pktmbuf_mtod(m, void *), (unsigned)m->data_len);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#689: FILE: lib/librte_mbuf/rte_mbuf.c:487:
+			(const void*)m, (void*)rte_pktmbuf_mtod(m, void *), (unsigned)m->data_len);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#689: FILE: lib/librte_mbuf/rte_mbuf.c:487:
+			(const void*)m, (void*)rte_pktmbuf_mtod(m, void *), (unsigned)m->data_len);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#724: FILE: lib/librte_mempool/rte_mempool.c:1203:
+	fprintf(f, "mempool <%s>@%p
", mp->name, (void*)mp);

ERROR:POINTER_LOCATION: "(foo*)" should be "(foo *)"
#737: FILE: lib/librte_ring/rte_ring.c:235:
+	fprintf(f, "ring <%s>@%p
", r->name, (const void*)r);

total: 18 errors, 3 warnings, 550 lines checked


More information about the test-report mailing list