From: Yong Wang Date: Thu, 7 Jul 2016 22:26:37 +0000 (-0700) Subject: vfio: fix coding style X-Git-Tag: spdx-start~6166 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eb68811af7185a2e5b582dfed8afd9840cf92854;p=dpdk.git vfio: fix coding style Signed-off-by: Yong Wang --- diff --git a/lib/librte_eal/linuxapp/eal/eal_vfio.c b/lib/librte_eal/linuxapp/eal/eal_vfio.c index fcb0ab38bb..702f7a2e01 100644 --- a/lib/librte_eal/linuxapp/eal/eal_vfio.c +++ b/lib/librte_eal/linuxapp/eal/eal_vfio.c @@ -344,7 +344,8 @@ vfio_is_enabled(const char *modname) } const struct vfio_iommu_type * -vfio_set_iommu_type(int vfio_container_fd) { +vfio_set_iommu_type(int vfio_container_fd) +{ unsigned idx; for (idx = 0; idx < RTE_DIM(iommu_types); idx++) { const struct vfio_iommu_type *t = &iommu_types[idx]; @@ -366,7 +367,8 @@ vfio_set_iommu_type(int vfio_container_fd) { } int -vfio_has_supported_extensions(int vfio_container_fd) { +vfio_has_supported_extensions(int vfio_container_fd) +{ int ret; unsigned idx, n_extensions = 0; for (idx = 0; idx < RTE_DIM(iommu_types); idx++) {