[dpdk-test-report] |WARNING| pw77629 [PATCH v4 7/7] test/ring: improve the application of macro

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 14 16:36:21 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'EMTPY' may be misspelled - perhaps 'EMPTY'?
#59: 
TEST_RING_FULL_EMTPY_ITER.

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#88: FILE: app/test/test_ring.c:58:
+#define TEST_RING_VERIFY(exp, r) do {					\
 	if (!(exp)) {							\
 		printf("error at %s:%d	condition " #exp " failed
",	\
 		    __func__, __LINE__);				\
+		rte_ring_dump(stdout, (r));				\
+		goto fail;						\
+	}								\
+} while (0)

total: 0 errors, 2 warnings, 580 lines checked


More information about the test-report mailing list