[dpdk-test-report] |WARNING| pw28167 [PATCH 02/26] net/octeontx/base: add octeontx io operations

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 31 16:56:23 CEST 2017


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

_coding style issues_


WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by:
#19: 
Co-authored-by: Santosh Shukla <santosh.shukla at caviumnetworks.com>

ERROR:SPACING: spaces required around that ':' (ctx:ExV)
#86: FILE: drivers/net/octeontx/base/octeontx_io.h:56:
+			:[x0]"=r"(val0), [x1]"=r"(val1) \
 			^

ERROR:SPACING: spaces required around that ':' (ctx:ExV)
#87: FILE: drivers/net/octeontx/base/octeontx_io.h:57:
+			:[p1]"r"(addr)			\
 			^

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#99: FILE: drivers/net/octeontx/base/octeontx_io.h:69:
+#define octeontx_load_pair(val0, val1, addr)		\
+do {							\
+	val0 = rte_read64(addr);			\
+	val1 = rte_read64(((uint8_t *)addr) + 8);	\
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#105: FILE: drivers/net/octeontx/base/octeontx_io.h:75:
+#define octeontx_store_pair(val0, val1, addr)		\
+do {							\
+	rte_write64(val0, addr);			\
+	rte_write64(val1, (((uint8_t *)addr) + 8));	\
+} while (0)

total: 2 errors, 1 warnings, 2 checks, 156 lines checked


More information about the test-report mailing list