diff options
author | Pranith Kumar <bobby.prani@gmail.com> | 2008-05-12 14:52:26 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-13 19:39:30 +0200 |
commit | afc85343807bc2c488b7372cd7547875dfe03fe5 (patch) | |
tree | dbebabcd6242dd50e64a7093fe32a8136c61b1f0 /arch | |
parent | 89804c022fe32541f5dd40a69e48ff4678d9ad24 (diff) | |
download | blackbird-obmc-linux-afc85343807bc2c488b7372cd7547875dfe03fe5.tar.gz blackbird-obmc-linux-afc85343807bc2c488b7372cd7547875dfe03fe5.zip |
x86: arch/x86/mm/pat.c - fix warning
fix this warning:
arch/x86/mm/pat.c: In function `phys_mem_access_prot_allowed':
arch/x86/mm/pat.c:558: warning: long long unsigned int format, long
unsigned int arg (arg 6)
arch/x86/mm/pat.c: In function `map_devmem':
arch/x86/mm/pat.c:580: warning: long long unsigned int format, long
unsigned int arg (arg 6)
Signed-off-by: D Pranith Kumar <bobby.prani@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/pat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/pat.c b/arch/x86/mm/pat.c index 60adbe22efa0..bcb1a8e4b2db 100644 --- a/arch/x86/mm/pat.c +++ b/arch/x86/mm/pat.c @@ -555,7 +555,7 @@ int phys_mem_access_prot_allowed(struct file *file, unsigned long pfn, "%s:%d /dev/mem ioremap_change_attr failed %s for %Lx-%Lx\n", current->comm, current->pid, cattr_name(flags), - offset, offset + size); + offset, (unsigned long long)(offset + size)); return 0; } @@ -576,7 +576,7 @@ void map_devmem(unsigned long pfn, unsigned long size, pgprot_t vma_prot) "%s:%d /dev/mem expected mapping type %s for %Lx-%Lx, got %s\n", current->comm, current->pid, cattr_name(want_flags), - addr, addr + size, + addr, (unsigned long long)(addr + size), cattr_name(flags)); } } |