[dpdk-test-report] |WARNING| pw57827 [PATCH v2 2/2] app/test: lpm abi version testing

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 22 18:08:41 CEST 2019


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#911: FILE: app/test/v2.0/rte_lpm.h:48:
+#define RTE_LPM_RETURN_IF_TRUE(cond, retval) do { \
+	if (cond) return (retval);                \
+} while (0)

ERROR:TRAILING_STATEMENTS: trailing statements should be on next line
#912: FILE: app/test/v2.0/rte_lpm.h:49:
+	if (cond) return (retval);                \

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#985: FILE: app/test/v2.0/rte_lpm.h:122:
+	struct rte_lpm_tbl24_entry tbl24[RTE_LPM_TBL24_NUM_ENTRIES] \

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#987: FILE: app/test/v2.0/rte_lpm.h:124:
+	struct rte_lpm_tbl8_entry tbl8[RTE_LPM_TBL8_NUM_ENTRIES] \

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#989: FILE: app/test/v2.0/rte_lpm.h:126:
+	struct rte_lpm_rule rules_tbl[0] \

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1116: FILE: app/test/v2.0/rte_lpm.h:253:
+	unsigned tbl24_index = (ip >> 8);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1129: FILE: app/test/v2.0/rte_lpm.h:266:
+		unsigned tbl8_index = (uint8_t)ip +

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1163: FILE: app/test/v2.0/rte_lpm.h:300:
+rte_lpm_lookup_bulk_func(const struct rte_lpm *lpm, const uint32_t * ips,

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1164: FILE: app/test/v2.0/rte_lpm.h:301:
+		uint16_t * next_hops, const unsigned n)

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1164: FILE: app/test/v2.0/rte_lpm.h:301:
+		uint16_t * next_hops, const unsigned n)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1166: FILE: app/test/v2.0/rte_lpm.h:303:
+	unsigned i;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1167: FILE: app/test/v2.0/rte_lpm.h:304:
+	unsigned tbl24_indexes[n];

WARNING:BRACES: braces {} are not necessary for single statement blocks
#1173: FILE: app/test/v2.0/rte_lpm.h:310:
+	for (i = 0; i < n; i++) {
+		tbl24_indexes[i] = ips[i] >> 8;
+	}

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1185: FILE: app/test/v2.0/rte_lpm.h:322:
+			unsigned tbl8_index = (uint8_t)ips[i] +

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1467: FILE: app/test/v2.0/rte_lpm6.h:147:
+		uint8_t ips[][RTE_LPM6_IPV6_ADDR_SIZE], uint8_t *depths, unsigned n);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#1512: FILE: app/test/v2.0/rte_lpm6.h:192:
+		int16_t * next_hops, unsigned n);

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#1512: FILE: app/test/v2.0/rte_lpm6.h:192:
+		int16_t * next_hops, unsigned n);

WARNING:TYPO_SPELLING: 'compability' may be misspelled - perhaps 'compatibility'?
#1528: FILE: app/test/v2.0/test_lpm.c:4:
+ * LPM Autotests from DPDK v2.2.0 for v2.0 abi compability testing.

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

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(tests)
#1605: FILE: app/test/v2.0/test_lpm.c:81:
+#define NUM_LPM_TESTS (sizeof(tests)/sizeof(tests[0]))

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#1638: FILE: app/test/v2.0/test_lpm.c:114:
+ * */

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#1691: FILE: app/test/v2.0/test_lpm.c:167:
+	/*Create vaild lpm to use in rest of test. */

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#1724: FILE: app/test/v2.0/test_lpm.c:200:
+	/*Create vaild lpm to use in rest of test. */

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#1758: FILE: app/test/v2.0/test_lpm.c:234:
+	/*Create vaild lpm to use in rest of test. */

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#1904: FILE: app/test/v2.0/test_lpm.c:380:
+		}
+		else {

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2003: FILE: app/test/v2.0/test_lpm.c:479:
+	 * entry */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2046: FILE: app/test/v2.0/test_lpm.c:522:
+	 * entry */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2109: FILE: app/test/v2.0/test_lpm.c:585:
+	 * (& delete & lookup) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2147: FILE: app/test/v2.0/test_lpm.c:623:
+	 * (& delete & lookup) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2193: FILE: app/test/v2.0/test_lpm.c:669:
+	 * (& delete & lookup) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2222: FILE: app/test/v2.0/test_lpm.c:698:
+	 * (& delete & lookup) */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2284: FILE: app/test/v2.0/test_lpm.c:760:
+ * */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2348: FILE: app/test/v2.0/test_lpm.c:824:
+ * */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2400: FILE: app/test/v2.0/test_lpm.c:876:
+ * */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2459: FILE: app/test/v2.0/test_lpm.c:935:
+ * */

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2465: FILE: app/test/v2.0/test_lpm.c:941:
+	 * that we have enough storage for all rules at that depth*/

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2491: FILE: app/test/v2.0/test_lpm.c:967:
+	 * we get a fail */

ERROR:SPACING: space required before the open brace '{'
#2547: FILE: app/test/v2.0/test_lpm.c:1023:
+	for (ip = 0; ip < 0xFFFFFF; ip++){

WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate line
#2549: FILE: app/test/v2.0/test_lpm.c:1025:
+		 * depth >24 and the top 24 bits are different */

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#2557: FILE: app/test/v2.0/test_lpm.c:1033:
+				(unsigned)ip, (unsigned)RTE_LPM_TBL8_NUM_GROUPS);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#2557: FILE: app/test/v2.0/test_lpm.c:1033:
+				(unsigned)ip, (unsigned)RTE_LPM_TBL8_NUM_GROUPS);

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#2590: FILE: app/test/v2.0/test_lpm.c:1066:
+	if ((status = rte_lpm_add(lpm, ip_10_32, d_ip_10_32,

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#2599: FILE: app/test/v2.0/test_lpm.c:1075:
+	if ((status = rte_lpm_add(lpm, ip_10_24, d_ip_10_24,
[...]
+			return -1;

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#2599: FILE: app/test/v2.0/test_lpm.c:1075:
+	if ((status = rte_lpm_add(lpm, ip_10_24, d_ip_10_24,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#2608: FILE: app/test/v2.0/test_lpm.c:1084:
+	if ((status = rte_lpm_add(lpm, ip_20_25, d_ip_20_25,

ERROR:SPACING: space required before the open brace '{'
#2622: FILE: app/test/v2.0/test_lpm.c:1098:
+	if (test_hop_10_24 == test_hop_20_25){

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

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#2693: FILE: app/test/v2.0/test_lpm6.c:24:
+		printf("Error at line %d: 
", __LINE__);                     \

ERROR:SPACING: space required before the open parenthesis '('
#2696: FILE: app/test/v2.0/test_lpm6.c:27:
+} while(0)

ERROR:SPACING: space prohibited after that '*' (ctx:BxW)
#2698: FILE: app/test/v2.0/test_lpm6.c:29:
+typedef int32_t (* rte_lpm6_test)(void);
                  ^

WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(tests6)
#2761: FILE: app/test/v2.0/test_lpm6.c:92:
+#define NUM_LPM6_TESTS                (sizeof(tests6)/sizeof(tests6[0]))

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2926: FILE: app/test/v2.0/test_lpm6.c:257:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#2938: FILE: app/test/v2.0/test_lpm6.c:269:
+	/*Create vaild lpm to use in rest of test. */

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#2964: FILE: app/test/v2.0/test_lpm6.c:295:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#2976: FILE: app/test/v2.0/test_lpm6.c:307:
+	/*Create vaild lpm to use in rest of test. */

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3002: FILE: app/test/v2.0/test_lpm6.c:333:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#3014: FILE: app/test/v2.0/test_lpm6.c:345:
+	/*Create vaild lpm to use in rest of test. */

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#3052: FILE: app/test/v2.0/test_lpm6.c:383:
+	/*Create vaild lpm to use in rest of test. */

WARNING:TYPO_SPELLING: 'vaild' may be misspelled - perhaps 'valid'?
#3090: FILE: app/test/v2.0/test_lpm6.c:421:
+	/*Create vaild lpm to use in rest of test. */

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3117: FILE: app/test/v2.0/test_lpm6.c:448:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3161: FILE: app/test/v2.0/test_lpm6.c:492:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3205: FILE: app/test/v2.0/test_lpm6.c:536:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3265: FILE: app/test/v2.0/test_lpm6.c:596:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3303: FILE: app/test/v2.0/test_lpm6.c:634:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3350: FILE: app/test/v2.0/test_lpm6.c:681:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3396: FILE: app/test/v2.0/test_lpm6.c:727:
+	uint8_t ip[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                  ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                 ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                     ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                             ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3432: FILE: app/test/v2.0/test_lpm6.c:763:
+	uint8_t ip[] = {12,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                    ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                        ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                            ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                                ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                                    ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                                        ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                                            ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3474: FILE: app/test/v2.0/test_lpm6.c:805:
+	uint8_t ip1[] = {127,255,255,255,255,255,255,255,255,
 	                                                ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3475: FILE: app/test/v2.0/test_lpm6.c:806:
+			255,255,255,255,255,255,255};
 			                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                    ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                        ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                            ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                              ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                  ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                    ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                      ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                        ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                          ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                            ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                              ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#3476: FILE: app/test/v2.0/test_lpm6.c:807:
+	uint8_t ip2[] = {128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
 	                                                ^

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#3517: FILE: app/test/v2.0/test_lpm6.c:848:
+		}
+		else {

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#4294: FILE: app/test/v2.0/test_lpm6.c:1625:
+	if ((status = rte_lpm6_add(lpm, ip_10_32, d_ip_10_32,

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 24)
#4303: FILE: app/test/v2.0/test_lpm6.c:1634:
+	if ((status = rte_lpm6_add(lpm, ip_10_24, d_ip_10_24,
[...]
+			return -1;

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#4303: FILE: app/test/v2.0/test_lpm6.c:1634:
+	if ((status = rte_lpm6_add(lpm, ip_10_24, d_ip_10_24,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#4312: FILE: app/test/v2.0/test_lpm6.c:1643:
+	if ((status = rte_lpm6_add(lpm, ip_20_25, d_ip_20_25,

ERROR:SPACING: space required before the open brace '{'
#4326: FILE: app/test/v2.0/test_lpm6.c:1657:
+	if (test_hop_10_24 == test_hop_20_25){

WARNING:LONG_LINE: line over 90 characters
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                           ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                               ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                                   ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                                       ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#4355: FILE: app/test/v2.0/test_lpm6.c:1686:
+		uint8_t ip[] = {128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,0};
 		                                                                         ^

WARNING:LONG_LINE: line over 90 characters
#4383: FILE: app/test/v2.0/test_lpm6.c:1714:
+					TEST_LPM_ASSERT(status == 0 && next_hop_return == 128);

WARNING:LONG_LINE: line over 90 characters
#4385: FILE: app/test/v2.0/test_lpm6.c:1716:
+					TEST_LPM_ASSERT(status == 0 && next_hop_return == 112);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4400: FILE: app/test/v2.0/test_lpm6.c:1731:
+	unsigned i;

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

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4449: FILE: app/test/v2.0/test_lpm6_perf.c:26:
+    if (!(cond)) {                              \$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 6)
#4449: FILE: app/test/v2.0/test_lpm6_perf.c:26:
+    if (!(cond)) {                              \
+      printf("Error at line %d: 
", __LINE__); \

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4450: FILE: app/test/v2.0/test_lpm6_perf.c:27:
+      printf("Error at line %d: 
", __LINE__); \$

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#4450: FILE: app/test/v2.0/test_lpm6_perf.c:27:
+      printf("Error at line %d: 
", __LINE__); \

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4451: FILE: app/test/v2.0/test_lpm6_perf.c:28:
+      return -1;                                \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4452: FILE: app/test/v2.0/test_lpm6_perf.c:29:
+    }                                           \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4453: FILE: app/test/v2.0/test_lpm6_perf.c:30:
+  } while(0)$

ERROR:SPACING: space required before the open parenthesis '('
#4453: FILE: app/test/v2.0/test_lpm6_perf.c:30:
+  } while(0)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4470: FILE: app/test/v2.0/test_lpm6_perf.c:47:
+	unsigned i, j;

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#4472: FILE: app/test/v2.0/test_lpm6_perf.c:49:
+	printf("Route distribution per prefix width: 
");

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#4474: FILE: app/test/v2.0/test_lpm6_perf.c:51:
+	printf("--------------------------- 
");

ERROR:SPACING: space required before the open parenthesis '('
#4477: FILE: app/test/v2.0/test_lpm6_perf.c:54:
+	for(i = 1; i <= 128; i++) {

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4478: FILE: app/test/v2.0/test_lpm6_perf.c:55:
+		unsigned depth_counter = 0;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4497: FILE: app/test/v2.0/test_lpm6_perf.c:74:
+	unsigned i, j;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4508: FILE: app/test/v2.0/test_lpm6_perf.c:85:
+	printf("No. routes = %u
", (unsigned) NUM_ROUTE_ENTRIES);

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#4513: FILE: app/test/v2.0/test_lpm6_perf.c:90:
+  /* Only generate IPv6 address of each item in large IPS table,
+	 * here next_hop is not needed.

ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#4539: FILE: app/test/v2.0/test_lpm6_perf.c:116:
+	for (i = 0; i < ITERATIONS; i ++) {
 	                              ^

ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#4542: FILE: app/test/v2.0/test_lpm6_perf.c:119:
+		for (j = 0; j < NUM_IPS_ENTRIES; j ++) {
 		                                   ^

ERROR:SPACING: space prohibited before that '++' (ctx:WxB)
#4565: FILE: app/test/v2.0/test_lpm6_perf.c:142:
+	for (i = 0; i < ITERATIONS; i ++) {
 	                              ^

WARNING:TYPO_SPELLING: 'compability' may be misspelled - perhaps 'compatibility'?
#4612: FILE: app/test/v2.0/test_lpm_perf.c:4:
+ * LPM Autotests from DPDK v2.2.0 for v2.0 abi compability testing.

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

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4639: FILE: app/test/v2.0/test_lpm_perf.c:31:
+    if (!(cond)) {                              \$

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (4, 6)
#4639: FILE: app/test/v2.0/test_lpm_perf.c:31:
+    if (!(cond)) {                              \
+      printf("Error at line %d:
", __LINE__);  \

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4640: FILE: app/test/v2.0/test_lpm_perf.c:32:
+      printf("Error at line %d:
", __LINE__);  \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4641: FILE: app/test/v2.0/test_lpm_perf.c:33:
+      return -1;                                \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4642: FILE: app/test/v2.0/test_lpm_perf.c:34:
+    }                                           \$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#4643: FILE: app/test/v2.0/test_lpm_perf.c:35:
+  } while (0)$

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4663: FILE: app/test/v2.0/test_lpm_perf.c:55:
+	unsigned i, j;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4674: FILE: app/test/v2.0/test_lpm_perf.c:66:
+	printf("No. routes = %u
", (unsigned) NUM_ROUTE_ENTRIES);

ERROR:SPACING: space required before the open brace '{'
#4699: FILE: app/test/v2.0/test_lpm_perf.c:91:
+		if (i % 32 == 0){

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4708: FILE: app/test/v2.0/test_lpm_perf.c:100:
+			(unsigned) lpm_used_entries,

WARNING:LONG_LINE: line over 90 characters
#4711: FILE: app/test/v2.0/test_lpm_perf.c:103:
+			(unsigned) cache_line_counter, (unsigned) cache_line_counter * 64);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4711: FILE: app/test/v2.0/test_lpm_perf.c:103:
+			(unsigned) cache_line_counter, (unsigned) cache_line_counter * 64);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4711: FILE: app/test/v2.0/test_lpm_perf.c:103:
+			(unsigned) cache_line_counter, (unsigned) cache_line_counter * 64);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4754: FILE: app/test/v2.0/test_lpm_perf.c:146:
+			unsigned k;

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#4781: FILE: app/test/v2.0/test_lpm_perf.c:173:
+			unsigned k;

total: 232 errors, 80 warnings, 4687 lines checked


More information about the test-report mailing list