Re: [U-Boot] [PATCH v2 3/3] avr32:mmu.c: fix printf() length modifier

2011-12-17 Thread Wolfgang Denk
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,

In message 1323939415-21743-4-git-send-email-andreas.de...@googlemail.com you 
wrote:
 From: Andreas Bießmann biessm...@corscience.de
 
 avr32 uses unsigned long addresses, fix the printf() length modifier for that
 fact.
 
 Before this patch following warning occours:
 
 ---8---
 mmu.c: In function 'mmu_init_r':
 mmu.c:25: warning: format '%08x' expects type 'unsigned int', but argument 2 
 has type 'uintptr_t'
 ---8---
 
 Signed-off-by: Andreas Bießmann biessm...@corscience.de
 cc: Mike Frysinger vap...@gentoo.org
 cc: Thomas Chou tho...@wytron.com.tw
 cc: Reinhard Meyer u-b...@emk-elektronik.de
 ---
 changes since v1: split off into single patches
 
 total: 0 errors, 0 warnings, 8 lines checked
 
 NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX 
 MULTISTATEMENT_MACRO_USE_DO_WHILE
 
 0003-avr32-mmu.c-fix-printf-length-modifier.patch has no obvious style 
 problems and is ready for submission.
 
  arch/avr32/cpu/at32ap700x/mmu.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

Applied to next branch, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Spock, did you see the looks on their faces?
Yes, Captain, a sort of vacant contentment.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH v2 3/3] avr32:mmu.c: fix printf() length modifier

2011-12-15 Thread Andreas Bießmann
From: Andreas Bießmann biessm...@corscience.de

avr32 uses unsigned long addresses, fix the printf() length modifier for that
fact.

Before this patch following warning occours:

---8---
mmu.c: In function 'mmu_init_r':
mmu.c:25: warning: format '%08x' expects type 'unsigned int', but argument 2 
has type 'uintptr_t'
---8---

Signed-off-by: Andreas Bießmann biessm...@corscience.de
cc: Mike Frysinger vap...@gentoo.org
cc: Thomas Chou tho...@wytron.com.tw
cc: Reinhard Meyer u-b...@emk-elektronik.de
---
changes since v1: split off into single patches

total: 0 errors, 0 warnings, 8 lines checked

NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX 
MULTISTATEMENT_MACRO_USE_DO_WHILE

0003-avr32-mmu.c-fix-printf-length-modifier.patch has no obvious style problems 
and is ready for submission.

 arch/avr32/cpu/at32ap700x/mmu.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/avr32/cpu/at32ap700x/mmu.c b/arch/avr32/cpu/at32ap700x/mmu.c
index c3a1b93..0e28b21 100644
--- a/arch/avr32/cpu/at32ap700x/mmu.c
+++ b/arch/avr32/cpu/at32ap700x/mmu.c
@@ -22,7 +22,7 @@ void mmu_init_r(unsigned long dest_addr)
 */
vmr_table_addr = (uintptr_t)mmu_vmr_table;
sysreg_write(PTBR, vmr_table_addr);
-   printf(VMR table @ 0x%08x\n, vmr_table_addr);
+   printf(VMR table @ 0x%08lx\n, vmr_table_addr);
 
/* Enable paging */
sysreg_write(MMUCR, SYSREG_BF(DRP, 1) | SYSREG_BF(DLA, 1)
-- 
1.7.7.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v2 3/3] avr32:mmu.c: fix printf() length modifier

2011-12-15 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org
-mike


signature.asc
Description: This is a digitally signed message part.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot