diff mbox series

[V5,6/8] iommu: Order the headers alphabetically in device_tree.c

Message ID 1569339027-19484-7-git-send-email-olekstysh@gmail.com (mailing list archive)
State Superseded
Headers show
Series iommu/arm: Add Renesas IPMMU-VMSA support + Linux's iommu_fwspec | expand

Commit Message

Oleksandr Tyshchenko Sept. 24, 2019, 3:30 p.m. UTC
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

Clean up the code a bit by putting the headers in alphabetical order.

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
---
 xen/drivers/passthrough/device_tree.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Julien Grall Sept. 24, 2019, 3:43 p.m. UTC | #1
Hi,

On 9/24/19 4:30 PM, Oleksandr Tyshchenko wrote:
> From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
> 
> Clean up the code a bit by putting the headers in alphabetical order.
> 
> Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

Acked-by: Julien Grall <julien.grall@arm.com>

Cheers,

> ---
>   xen/drivers/passthrough/device_tree.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/xen/drivers/passthrough/device_tree.c b/xen/drivers/passthrough/device_tree.c
> index 12f2c4c..3f328f4 100644
> --- a/xen/drivers/passthrough/device_tree.c
> +++ b/xen/drivers/passthrough/device_tree.c
> @@ -15,11 +15,11 @@
>    * GNU General Public License for more details.
>    */
>   
> -#include <xen/lib.h>
> -#include <xen/sched.h>
> +#include <xen/device_tree.h>
>   #include <xen/guest_access.h>
>   #include <xen/iommu.h>
> -#include <xen/device_tree.h>
> +#include <xen/lib.h>
> +#include <xen/sched.h>
>   #include <xsm/xsm.h>
>   
>   static spinlock_t dtdevs_lock = SPIN_LOCK_UNLOCKED;
>
diff mbox series

Patch

diff --git a/xen/drivers/passthrough/device_tree.c b/xen/drivers/passthrough/device_tree.c
index 12f2c4c..3f328f4 100644
--- a/xen/drivers/passthrough/device_tree.c
+++ b/xen/drivers/passthrough/device_tree.c
@@ -15,11 +15,11 @@ 
  * GNU General Public License for more details.
  */
 
-#include <xen/lib.h>
-#include <xen/sched.h>
+#include <xen/device_tree.h>
 #include <xen/guest_access.h>
 #include <xen/iommu.h>
-#include <xen/device_tree.h>
+#include <xen/lib.h>
+#include <xen/sched.h>
 #include <xsm/xsm.h>
 
 static spinlock_t dtdevs_lock = SPIN_LOCK_UNLOCKED;