public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAPFB: fix printing of reserved memory
@ 2008-09-12 10:27 Tomi Valkeinen
  2008-10-17 21:45 ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Tomi Valkeinen @ 2008-09-12 10:27 UTC (permalink / raw)
  To: linux-omap

Print reserved memory only if it was actually reserved.
---

 arch/arm/plat-omap/fb.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
index f9927a7..63c82ef 100644
--- a/arch/arm/plat-omap/fb.c
+++ b/arch/arm/plat-omap/fb.c
@@ -207,9 +207,10 @@ void __init omapfb_reserve_sdram(void)
 			config_invalid = 1;
 			return;
 		}
-		if (rg.paddr)
+		if (rg.paddr) {
 			reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT);
-		reserved += rg.size;
+			reserved += rg.size;
+		}
 		omapfb_config.mem_desc.region[i] = rg;
 		configured_regions++;
 	}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] OMAPFB: fix printing of reserved memory
  2008-09-12 10:27 [PATCH] OMAPFB: fix printing of reserved memory Tomi Valkeinen
@ 2008-10-17 21:45 ` Tony Lindgren
  2008-10-20 14:45   ` Tomi Valkeinen
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Lindgren @ 2008-10-17 21:45 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap

* Tomi Valkeinen <tomi.valkeinen@nokia.com> [080912 03:27]:
> Print reserved memory only if it was actually reserved.

Can you reply with your Signed-off-by?

Thanks,

Tony

> ---
> 
>  arch/arm/plat-omap/fb.c |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
> index f9927a7..63c82ef 100644
> --- a/arch/arm/plat-omap/fb.c
> +++ b/arch/arm/plat-omap/fb.c
> @@ -207,9 +207,10 @@ void __init omapfb_reserve_sdram(void)
>  			config_invalid = 1;
>  			return;
>  		}
> -		if (rg.paddr)
> +		if (rg.paddr) {
>  			reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT);
> -		reserved += rg.size;
> +			reserved += rg.size;
> +		}
>  		omapfb_config.mem_desc.region[i] = rg;
>  		configured_regions++;
>  	}
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] OMAPFB: fix printing of reserved memory
  2008-10-17 21:45 ` Tony Lindgren
@ 2008-10-20 14:45   ` Tomi Valkeinen
  2008-10-24 19:26     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Tomi Valkeinen @ 2008-10-20 14:45 UTC (permalink / raw)
  To: ext Tony Lindgren; +Cc: linux-omap

On Fri, 2008-10-17 at 14:45 -0700, ext Tony Lindgren wrote:
> * Tomi Valkeinen <tomi.valkeinen@nokia.com> [080912 03:27]:
> > Print reserved memory only if it was actually reserved.
> 
> Can you reply with your Signed-off-by?

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>

> 
> Thanks,
> 
> Tony
> 
> > ---
> > 
> >  arch/arm/plat-omap/fb.c |    5 +++--
> >  1 files changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
> > index f9927a7..63c82ef 100644
> > --- a/arch/arm/plat-omap/fb.c
> > +++ b/arch/arm/plat-omap/fb.c
> > @@ -207,9 +207,10 @@ void __init omapfb_reserve_sdram(void)
> >  			config_invalid = 1;
> >  			return;
> >  		}
> > -		if (rg.paddr)
> > +		if (rg.paddr) {
> >  			reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT);
> > -		reserved += rg.size;
> > +			reserved += rg.size;
> > +		}
> >  		omapfb_config.mem_desc.region[i] = rg;
> >  		configured_regions++;
> >  	}
> > 
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] OMAPFB: fix printing of reserved memory
  2008-10-20 14:45   ` Tomi Valkeinen
@ 2008-10-24 19:26     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2008-10-24 19:26 UTC (permalink / raw)
  To: Tomi Valkeinen; +Cc: linux-omap

* Tomi Valkeinen <tomi.valkeinen@nokia.com> [081020 11:50]:
> On Fri, 2008-10-17 at 14:45 -0700, ext Tony Lindgren wrote:
> > * Tomi Valkeinen <tomi.valkeinen@nokia.com> [080912 03:27]:
> > > Print reserved memory only if it was actually reserved.
> > 
> > Can you reply with your Signed-off-by?
> 
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>

Thanks, pushing.

Tony

> 
> > 
> > Thanks,
> > 
> > Tony
> > 
> > > ---
> > > 
> > >  arch/arm/plat-omap/fb.c |    5 +++--
> > >  1 files changed, 3 insertions(+), 2 deletions(-)
> > > 
> > > diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
> > > index f9927a7..63c82ef 100644
> > > --- a/arch/arm/plat-omap/fb.c
> > > +++ b/arch/arm/plat-omap/fb.c
> > > @@ -207,9 +207,10 @@ void __init omapfb_reserve_sdram(void)
> > >  			config_invalid = 1;
> > >  			return;
> > >  		}
> > > -		if (rg.paddr)
> > > +		if (rg.paddr) {
> > >  			reserve_bootmem(rg.paddr, rg.size, BOOTMEM_DEFAULT);
> > > -		reserved += rg.size;
> > > +			reserved += rg.size;
> > > +		}
> > >  		omapfb_config.mem_desc.region[i] = rg;
> > >  		configured_regions++;
> > >  	}
> > > 
> > > --
> > > To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> > > the body of a message to majordomo@vger.kernel.org
> > > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-24 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-12 10:27 [PATCH] OMAPFB: fix printing of reserved memory Tomi Valkeinen
2008-10-17 21:45 ` Tony Lindgren
2008-10-20 14:45   ` Tomi Valkeinen
2008-10-24 19:26     ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox