automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw39063 [PATCH v4 3/4] Add autotests for RIB library
       [not found] <1524780214-23196-4-git-send-email-medvedkinv@gmail.com>
@ 2018-04-26 22:05 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-26 22:05 UTC (permalink / raw)
  To: test-report; +Cc: Vladimir Medvedkin

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#102: FILE: test/test/test_rib.c:17:
+#define TEST_RIB_ASSERT(cond) do {				\
+	if (!(cond)) {						\
+		printf("Error at line %d:
", __LINE__);	\
+		return -1;					\
+	}							\
+} while (0)

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(tests)
#128: FILE: test/test/test_rib.c:43:
+#define NUM_RIB_TESTS (sizeof(tests)/sizeof(tests[0]))

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#767: FILE: test/test/test_rib_lpm_comp.c:21:
+#define TEST_RIB_ASSERT(cond) do {				\
+	if (!(cond)) {						\
+		printf("Error at line %d:
", __LINE__);	\
+		return -1;					\
+	}							\
+} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#962: FILE: test/test/test_rib_perf.c:21:
+#define TEST_RIB_ASSERT(cond) do {				\
+	if (!(cond)) {						\
+		printf("Error at line %d:
", __LINE__);	\
+		return -1;					\
+	}							\
+} while (0)

total: 0 errors, 4 warnings, 1014 lines checked

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

only message in thread, other threads:[~2018-04-26 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1524780214-23196-4-git-send-email-medvedkinv@gmail.com>
2018-04-26 22:05 ` [dpdk-test-report] |WARNING| pw39063 [PATCH v4 3/4] Add autotests for RIB library 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).