[dpdk-test-report] |WARNING| pw26815 [PATCH] lib/rib: Add Routing Information Base library

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jul 11 21:09:55 CEST 2017


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

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#26: 
 - For dir24_8 implementation it is possible to remove rte_lpm_tbl_entry.depth

WARNING:LONG_LINE: line over 90 characters
#637: FILE: lib/librte_rib/rte_dir24_8.h:76:
+#define DIR24_8_LOOKUP_MSK	((((uint64_t)1 << ((1 << (fib->nh_sz + 3)) - 1)) << 1) - 1)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#1212: FILE: lib/librte_rib/rte_rib.h:41:
+#define RTE_RIB_RETURN_IF_TRUE(cond, retval) do {	\
+	if (cond)					\
+		return retval;				\
+} while (0)

total: 0 errors, 3 warnings, 1339 lines checked


More information about the test-report mailing list