* [dpdk-test-report] |WARNING| pw32474 [PATCH RFC v2 23/23] eal: map/unmap memory with VFIO when alloc/free pages
[not found] <4d6dbd867adc051a3cf444d365c2aae604821f77.1513681966.git.anatoly.burakov@intel.com>
@ 2017-12-19 11:20 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-12-19 11:20 UTC (permalink / raw)
To: test-report; +Cc: Anatoly Burakov
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/32474
_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
^ permalink raw reply [flat|nested] only message in thread