[dpdk-test-report] |WARNING| pw32446 [PATCH RFC 23/23] eal/memalloc: register/unregister memory with VFIO when

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 19 12:13:30 CET 2017


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#40: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:264:
+	if (rte_iommu_dma_map(ms->addr_64, iova, size)) {
+		RTE_LOG(DEBUG, EAL, "Cannot register segment with VFIO
");
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#52: FILE: lib/librte_eal/linuxapp/eal/eal_memalloc.c:305:
+	if (rte_iommu_dma_unmap(ms->addr_64, ms->iova, ms->len)) {
+		RTE_LOG(DEBUG, EAL, "Cannot unregister segment with VFIO
");
+	}

total: 0 errors, 2 warnings, 29 lines checked


More information about the test-report mailing list