[dpdk-test-report] |WARNING| pw71264 [PATCH v1 2/2] net/i40e: use movdiri to update queue tail registers

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 11 12:11:40 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'queue' may be better as '(queue)' to avoid precedence issues
#82: FILE: drivers/net/i40e/base/i40e_osdep.h:142:
+#define I40E_PCI_REG_WC_WRITE(queue, reg, value, ...)			\
+	do {								\
+		uint32_t val = rte_cpu_to_le_32(value);			\
+		volatile void *addr = reg;				\
+		if (queue->use_movdiri)					\
+			rte_write32_wc(val, addr);			\
+		else							\
+			rte_write32##__VA_ARGS__(val, addr);		\
+	} while (0)

total: 0 errors, 0 warnings, 1 checks, 159 lines checked


More information about the test-report mailing list