[dpdk-test-report] |WARNING| [PATCH 28/32] net/dpaa2: add support for physical address usages

checkpatch at dpdk.org checkpatch at dpdk.org
Sun Dec 4 13:51:13 CET 2016


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'mbuf' may be better as '(mbuf)' to avoid precedence issues
#220: FILE: drivers/net/dpaa2/base/dpaa2_hw_pvt.h:209:
+#define DPAA2_MBUF_VADDR_TO_IOVA(mbuf) (mbuf->buf_physaddr)

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mem' - possible side-effects?
#235: FILE: drivers/net/dpaa2/base/dpaa2_hw_pvt.h:224:
+#define DPAA2_MODIFY_IOVA_TO_VADDR(_mem, _type) \
+	{_mem = (_type)(dpaa2_mem_ptov((phys_addr_t)(_mem))); }

total: 0 errors, 0 warnings, 2 checks, 87 lines checked


More information about the test-report mailing list