[dpdk-test-report] |WARNING| pw32443 [PATCH 23/23] eal: map/unmap memory with VFIO when alloc/free pages

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 19 12:11:46 CET 2017


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#39: 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
#51: 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