diff mbox

xen/arm: setup: fix typo

Message ID 1464326415-6027-1-git-send-email-van.freenix@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peng Fan May 27, 2016, 5:20 a.m. UTC
Typo fix: fdt_get_mem_rsc -> fdt_get_mem_rsv

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Julien Grall <julien.grall@arm.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
---
 xen/arch/arm/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Julien Grall May 27, 2016, 3:12 p.m. UTC | #1
Hello Peng,

On 27/05/16 06:20, Peng Fan wrote:
> Typo fix: fdt_get_mem_rsc -> fdt_get_mem_rsv
>
> Signed-off-by: Peng Fan <van.freenix@gmail.com>
> Cc: Julien Grall <julien.grall@arm.com>
> Cc: Stefano Stabellini <sstabellini@kernel.org>

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

Regards,

> ---
>   xen/arch/arm/setup.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
> index 09ff1ea..dcb23b7 100644
> --- a/xen/arch/arm/setup.c
> +++ b/xen/arch/arm/setup.c
> @@ -185,7 +185,7 @@ void dt_unreserved_regions(paddr_t s, paddr_t e,
>               /* If we can't read it, pretend it doesn't exist... */
>               continue;
>
> -        r_e += r_s; /* fdt_get_mem_rsc returns length */
> +        r_e += r_s; /* fdt_get_mem_rsv returns length */
>
>           if ( s < r_e && r_s < e )
>           {
>
Stefano Stabellini May 30, 2016, 11:48 a.m. UTC | #2
On Fri, 27 May 2016, Julien Grall wrote:
> Hello Peng,
> 
> On 27/05/16 06:20, Peng Fan wrote:
> > Typo fix: fdt_get_mem_rsc -> fdt_get_mem_rsv
> > 
> > Signed-off-by: Peng Fan <van.freenix@gmail.com>
> > Cc: Julien Grall <julien.grall@arm.com>
> > Cc: Stefano Stabellini <sstabellini@kernel.org>
> 
> Reviewed-by: Julien Grall <julien.grall@arm.com>

committed to my next-4.8 branch

> 
> > ---
> >   xen/arch/arm/setup.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
> > index 09ff1ea..dcb23b7 100644
> > --- a/xen/arch/arm/setup.c
> > +++ b/xen/arch/arm/setup.c
> > @@ -185,7 +185,7 @@ void dt_unreserved_regions(paddr_t s, paddr_t e,
> >               /* If we can't read it, pretend it doesn't exist... */
> >               continue;
> > 
> > -        r_e += r_s; /* fdt_get_mem_rsc returns length */
> > +        r_e += r_s; /* fdt_get_mem_rsv returns length */
> > 
> >           if ( s < r_e && r_s < e )
> >           {
> > 
> 
> -- 
> Julien Grall
>
diff mbox

Patch

diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 09ff1ea..dcb23b7 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -185,7 +185,7 @@  void dt_unreserved_regions(paddr_t s, paddr_t e,
             /* If we can't read it, pretend it doesn't exist... */
             continue;
 
-        r_e += r_s; /* fdt_get_mem_rsc returns length */
+        r_e += r_s; /* fdt_get_mem_rsv returns length */
 
         if ( s < r_e && r_s < e )
         {