public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] OMAPFB: fix printing of reserved memory
Date: Fri, 17 Oct 2008 14:45:32 -0700	[thread overview]
Message-ID: <20081017214530.GD18573@atomide.com> (raw)
In-Reply-To: <20080912102716.23245.73291.stgit@tubuntu>

* 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

  reply	other threads:[~2008-10-17 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-12 10:27 [PATCH] OMAPFB: fix printing of reserved memory Tomi Valkeinen
2008-10-17 21:45 ` Tony Lindgren [this message]
2008-10-20 14:45   ` Tomi Valkeinen
2008-10-24 19:26     ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081017214530.GD18573@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tomi.valkeinen@nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox