uio: msm_sharedmem: Fix format specifier to print resource_size_t

Use proper printk format specifier %pa to print resource_size_t
type variable.

Change-Id: I77b1f3ded0957d4a572c5c05996a3649a9b1fb45
Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
[riteshh@codeaurora.org: fixed trivial merge conflicts]
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
Signed-off-by: Ankit Jain <jankit@codeaurora.org>
This commit is contained in:
Nikhilesh Reddy 2016-03-16 14:31:23 -07:00 committed by Gerrit - the friendly Code Review server
parent f37a744f85
commit 73b51c6a5d

View file

@ -43,9 +43,9 @@ static int sharedmem_mmap(struct uio_info *info, struct vm_area_struct *vma)
mem = info->mem + mem_index;
if (vma->vm_end - vma->vm_start > mem->size) {
pr_err("vm_end[%lu] - vm_start[%lu] [%lu] > mem->size[%lu]\n",
pr_err("vm_end[%lu] - vm_start[%lu] [%lu] > mem->size[%pa]\n",
vma->vm_end, vma->vm_start,
(vma->vm_end - vma->vm_start), mem->size);
(vma->vm_end - vma->vm_start), &mem->size);
return -EINVAL;
}
pr_debug("Attempting to setup mmap.\n");