linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/9] meminfo: switch to pr_xxx
Date: Fri, 08 Mar 2013 01:50:40 +0300	[thread overview]
Message-ID: <513919C0.1040803@cogentembedded.com> (raw)
In-Reply-To: <1362691594-32286-6-git-send-email-plagnioj@jcrosoft.com>

Hello.

On 03/08/2013 12:26 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:

> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>   common/meminfo.c |    6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)

    Hm, this patch must be for U-Boot, not Linux. :-)

> diff --git a/common/meminfo.c b/common/meminfo.c
> index 5e3ff71..45733da 100644
> --- a/common/meminfo.c
> +++ b/common/meminfo.c
> @@ -10,9 +10,9 @@ static int display_meminfo(void)
>   	ulong mend   = mem_malloc_end();
>   	ulong msize  = mend - mstart + 1;
>   
> -	debug("barebox code: 0x%p -> 0x%p\n", _stext, _etext - 1);
> -	debug("bss segment:  0x%p -> 0x%p\n", __bss_start, __bss_stop - 1);
> -	printf("malloc space: 0x%08lx -> 0x%08lx (size %s)\n",
> +	pr_debug("barebox code: 0x%p -> 0x%p\n", _stext, _etext - 1);
> +	pr_debug("bss segment:  0x%p -> 0x%p\n", __bss_start, __bss_stop - 1);
> +	pr_info("malloc space: 0x%08lx -> 0x%08lx (size %s)\n",
>   		mstart, mend, size_human_readable(msize));

    I'm not sure these pr_*() macros exist in U-Boot (or barebox?).

WBR, Sergei

  reply	other threads:[~2013-03-07 22:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130307212523.GK4401@game.jcrosoft.org>
2013-03-07 21:26 ` [PATCH 1/9] kfifo: introduce kfifo_dump_str to dump the fifo Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 2/9] console: switch to kfifo_dump_str Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 3/9] intoduce dmesg to print the barebox printk to dmesg ring buffer Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 4/9] startup: switch to pr_xxx Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 5/9] at91: clock switch to pr_info Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 6/9] meminfo: switch to pr_xxx Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 22:50     ` Sergei Shtylyov [this message]
2013-03-07 21:26   ` [PATCH 7/9] net/console: " Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 8/9] startup: " Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 21:26   ` [PATCH 9/9] barebox_banner: switch to pr_info Jean-Christophe PLAGNIOL-VILLARD
2013-03-07 22:53   ` [PATCH 1/9] kfifo: introduce kfifo_dump_str to dump the fifo Sergei Shtylyov

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=513919C0.1040803@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).