automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw24123 [PATCH] mbuf: rte_pktmbuf_alloc_bulk bugfix
       [not found] <4935498.pT9graIqJa@polaris>
@ 2017-05-05 13:30 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-05-05 13:30 UTC (permalink / raw)
  To: test-report; +Cc: Gregory Etelson

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

_coding style issues_


ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop
#28: FILE: lib/librte_mbuf/rte_mbuf.h:791:
+#define MBUF_RAW_ALLOC_CHECK(m_)				\
+	RTE_ASSERT(rte_mbuf_refcnt_read(m_) == 1);	\
+	RTE_ASSERT(m_->next == NULL);				\
+	RTE_ASSERT(m_->nb_segs == 1);				\
+	__rte_mbuf_sanity_check(m_, 0);

WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#28: FILE: lib/librte_mbuf/rte_mbuf.h:791:
+#define MBUF_RAW_ALLOC_CHECK(m_)				\
+	RTE_ASSERT(rte_mbuf_refcnt_read(m_) == 1);	\
+	RTE_ASSERT(m_->next == NULL);				\
+	RTE_ASSERT(m_->nb_segs == 1);				\
+	__rte_mbuf_sanity_check(m_, 0);

total: 1 errors, 1 warnings, 51 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-05 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4935498.pT9graIqJa@polaris>
2017-05-05 13:30 ` [dpdk-test-report] |WARNING| pw24123 [PATCH] mbuf: rte_pktmbuf_alloc_bulk bugfix 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).