From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 3CCCB1B012; Tue, 19 Dec 2017 12:20:49 +0100 (CET) In-Reply-To: <4d6dbd867adc051a3cf444d365c2aae604821f77.1513681966.git.anatoly.burakov@intel.com> References: <4d6dbd867adc051a3cf444d365c2aae604821f77.1513681966.git.anatoly.burakov@intel.com> To: test-report@dpdk.org Cc: Anatoly Burakov Message-Id: <20171219112049.3CCCB1B012@dpdk.org> Date: Tue, 19 Dec 2017 12:20:49 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw32474 [PATCH RFC v2 23/23] eal: map/unmap memory with VFIO when alloc/free pages X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 11:20:49 -0000 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