diff options
Diffstat (limited to 'arch/x86')
-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, | |||
555 | "%s:%d /dev/mem ioremap_change_attr failed %s for %Lx-%Lx\n", | 555 | "%s:%d /dev/mem ioremap_change_attr failed %s for %Lx-%Lx\n", |
556 | current->comm, current->pid, | 556 | current->comm, current->pid, |
557 | cattr_name(flags), | 557 | cattr_name(flags), |
558 | offset, offset + size); | 558 | offset, (unsigned long long)(offset + size)); |
559 | return 0; | 559 | return 0; |
560 | } | 560 | } |
561 | 561 | ||
@@ -576,7 +576,7 @@ void map_devmem(unsigned long pfn, unsigned long size, pgprot_t vma_prot) | |||
576 | "%s:%d /dev/mem expected mapping type %s for %Lx-%Lx, got %s\n", | 576 | "%s:%d /dev/mem expected mapping type %s for %Lx-%Lx, got %s\n", |
577 | current->comm, current->pid, | 577 | current->comm, current->pid, |
578 | cattr_name(want_flags), | 578 | cattr_name(want_flags), |
579 | addr, addr + size, | 579 | addr, (unsigned long long)(addr + size), |
580 | cattr_name(flags)); | 580 | cattr_name(flags)); |
581 | } | 581 | } |
582 | } | 582 | } |