All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH/RFC] fix several printf() modifiers
Date: Thu, 15 Dec 2011 14:22:29 -0500	[thread overview]
Message-ID: <201112151422.31051.vapier@gentoo.org> (raw)
In-Reply-To: <4EE9B02D.8010001@gmail.com>

On Thursday 15 December 2011 03:30:37 Andreas Bie?mann wrote:
> On 15.12.2011 06:35, Mike Frysinger wrote:
> > On Wednesday 14 December 2011 05:04:07 Andreas Bie?mann wrote:
> >> --- a/arch/avr32/cpu/at32ap700x/mmu.c
> >> +++ b/arch/avr32/cpu/at32ap700x/mmu.c
> >> 
> >> -	printf("VMR table @ 0x%08x\n", vmr_table_addr);
> >> +	printf("VMR table @ %#lx\n", vmr_table_addr);
> > 
> > this isn't the same.  probably should be %08lx.
> 
> You are right, but as you may know the memory map for at32ap7000 has its
> SDRAM physically at 0x10000000. Therefore the result will be the same
> for 0x%08lx and %#lx (in all currently available boards).

i don't know anything about AVR32 ;)

> But maybe one will locate the vmr_table sometimes in SRAM some day?

seems safer, although probably unlikely as i think the AVR32 is pretty much 
dead nowadays ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111215/6a4b7ec0/attachment.pgp>

  reply	other threads:[~2011-12-15 19:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14  6:36 [U-Boot] cmd_sf warning on size_t Thomas Chou
2011-12-14  9:34 ` Andreas Bießmann
2011-12-14 10:04 ` [U-Boot] [PATCH/RFC] fix several printf() modifiers Andreas Bießmann
2011-12-15  2:22   ` Thomas Chou
2011-12-15  2:39     ` Graeme Russ
2011-12-15  5:36       ` Mike Frysinger
2011-12-15  5:35   ` Mike Frysinger
2011-12-15  8:30     ` Andreas Bießmann
2011-12-15 19:22       ` Mike Frysinger [this message]
2011-12-15  8:56   ` [U-Boot] [PATCH v2 0/3] fix several printf() length modifers Andreas Bießmann
2011-12-15  8:56     ` [U-Boot] [PATCH v2 1/3] cmd_sf.c: fix printf() length modifier Andreas Bießmann
2011-12-15 12:20       ` Mike Frysinger
2011-12-17 22:56       ` Wolfgang Denk
2011-12-15  8:56     ` [U-Boot] [PATCH v2 2/3] fat.c: " Andreas Bießmann
2011-12-15 12:21       ` Mike Frysinger
2011-12-17 22:56       ` Wolfgang Denk
2011-12-15  8:56     ` [U-Boot] [PATCH v2 3/3] avr32:mmu.c: " Andreas Bießmann
2011-12-15 12:21       ` Mike Frysinger
2011-12-17 22:57       ` Wolfgang Denk

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=201112151422.31051.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.