[Xen-devel,02/24] xen/arm: gic-v2: Fix indentation in gicv2_map_hwdom_extra_mappings

Message ID 20170613161323.25196-3-julien.grall@arm.com
State New
Headers show
Series
  • xen/arm: Extend the usage of typesafe MFN
Related show

Commit Message

Julien Grall June 13, 2017, 4:13 p.m.
Signed-off-by: Julien Grall <julien.grall@arm.com>
---
 xen/arch/arm/gic-v2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Stefano Stabellini June 15, 2017, 10:22 p.m. | #1
On Tue, 13 Jun 2017, Julien Grall wrote:
> Signed-off-by: Julien Grall <julien.grall@arm.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
>  xen/arch/arm/gic-v2.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c
> index 270a1362ec..f8124e5e54 100644
> --- a/xen/arch/arm/gic-v2.c
> +++ b/xen/arch/arm/gic-v2.c
> @@ -598,8 +598,8 @@ static int gicv2_map_hwdown_extra_mappings(struct domain *d)
>                 v2m_data->spi_start, v2m_data->nr_spis);
>  
>          ret = map_mmio_regions(d, _gfn(paddr_to_pfn(v2m_data->addr)),
> -                            DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
> -                            _mfn(paddr_to_pfn(v2m_data->addr)));
> +                               DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
> +                               _mfn(paddr_to_pfn(v2m_data->addr)));
>          if ( ret )
>          {
>              printk(XENLOG_ERR "GICv2: Map v2m frame to d%d failed.\n",
> -- 
> 2.11.0
>

Patch hide | download patch | download mbox

diff --git a/xen/arch/arm/gic-v2.c b/xen/arch/arm/gic-v2.c
index 270a1362ec..f8124e5e54 100644
--- a/xen/arch/arm/gic-v2.c
+++ b/xen/arch/arm/gic-v2.c
@@ -598,8 +598,8 @@  static int gicv2_map_hwdown_extra_mappings(struct domain *d)
                v2m_data->spi_start, v2m_data->nr_spis);
 
         ret = map_mmio_regions(d, _gfn(paddr_to_pfn(v2m_data->addr)),
-                            DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
-                            _mfn(paddr_to_pfn(v2m_data->addr)));
+                               DIV_ROUND_UP(v2m_data->size, PAGE_SIZE),
+                               _mfn(paddr_to_pfn(v2m_data->addr)));
         if ( ret )
         {
             printk(XENLOG_ERR "GICv2: Map v2m frame to d%d failed.\n",