Re: linux-next: Tree for April 10 (arch/x86)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Jelinek <jakub@...>
Cc: Ingo Molnar <mingo@...>, Stephen Rothwell <sfr@...>, mingo <mingo@...>, tglx <tglx@...>, <linux-next@...>, LKML <linux-kernel@...>
Date: Monday, April 14, 2008 - 6:28 pm

On Mon, 14 Apr 2008 04:40:49 -0400 Jakub Jelinek wrote:


Hi,
I tried this.

In this particular case, phys_addr is a type(def) of resource_size_t,
so we still get gcc warnings:

next-20080410/arch/x86/mm/ioremap.c: In function '__ioremap':
next-20080410/arch/x86/mm/ioremap.c:137: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t'
next-20080410/arch/x86/mm/ioremap.c:188: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t'

so we still need to cast phys_addr either to (unsigned long) or
(unsigned long long).  Rigth?  or am I missing something?  if so, what?

Thanks,
---
~Randy
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for April 10, Stephen Rothwell, (Thu Apr 10, 4:14 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Thu Apr 10, 6:09 pm)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Fri Apr 11, 3:46 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Fri Apr 11, 11:19 am)
Re: linux-next: Tree for April 10 (arch/x86), Jakub Jelinek, (Mon Apr 14, 4:40 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Mon Apr 14, 6:28 pm)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Fri Apr 11, 11:26 am)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Mon Apr 14, 4:12 am)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Mon Apr 14, 4:22 am)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Mon Apr 14, 4:34 am)
Re: linux-next: Tree for April 10 (arch/x86), Jakub Jelinek, (Mon Apr 14, 4:43 am)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Mon Apr 14, 5:30 am)
Re: linux-next: Tree for April 10 (arch/x86), David Miller, (Mon Apr 14, 5:37 am)
Re: linux-next: Tree for April 10 (ftrace), Randy Dunlap, (Thu Apr 10, 6:07 pm)
Re: linux-next: Tree for April 10: generic pci_enable_resour..., Mariusz Kozlowski, (Thu Apr 10, 3:34 pm)
Re: linux-next: Tree for April 10: generic pci_enable_resour..., Stephen Rothwell, (Mon Apr 14, 12:49 am)
[BUG] linux-next: April 10 - kernel oops at kmem_cache_all..., Kamalesh Babulal, (Thu Apr 10, 2:07 pm)
Re: [BUG] linux-next: April 10 - kernel oops at kmem_cache..., Kamalesh Babulal, (Mon Apr 14, 9:14 am)
Re: linux-next: Tree for April 10, Greg KH, (Thu Apr 10, 1:42 pm)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 8:03 am)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 1:14 pm)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 3:16 pm)