automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw33571 [PATCH v5 01/11] eal: add common test assert macros
       [not found] <20180111102156.12726-1-pbhagavatula@caviumnetworks.com>
@ 2018-01-11 10:24 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-01-11 10:24 UTC (permalink / raw)
  To: test-report; +Cc: Pavan Nikhilesh

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#86: FILE: lib/librte_eal/common/include/rte_test.h:19:
+#define RTE_TEST_ASSERT(cond, msg, ...) do {                                  \
+	if (!(cond)) {                                                        \
+		RTE_LOG(DEBUG, EAL, "Test assert %s line %d failed: "         \
+				msg "
", __func__, __LINE__, ##__VA_ARGS__); \
+		RTE_TEST_TRACE_FAILURE(__FILE__, __LINE__, __func__);         \
+		return -1;                                                    \
+	}                                                                     \
+} while (0)

total: 0 errors, 1 warnings, 147 lines checked

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

only message in thread, other threads:[~2018-01-11 10:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180111102156.12726-1-pbhagavatula@caviumnetworks.com>
2018-01-11 10:24 ` [dpdk-test-report] |WARNING| pw33571 [PATCH v5 01/11] eal: add common test assert macros 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).