OSDN Git Service

uio: msm_sharedmem: Use proper format to print phys_addr_t
authorPrasad Sodagudi <psodagud@codeaurora.org>
Wed, 7 Oct 2015 17:34:40 +0000 (23:04 +0530)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:08:11 +0000 (11:08 -0700)
Use proper printk format specifier to print phys_addr_t
type variable.

Change-Id: I7c55e44e813d8d41e1ead03280044c8542a24922
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
drivers/uio/msm_sharedmem/msm_sharedmem.c

index 0d593e4..7dd0bff 100644 (file)
@@ -95,8 +95,8 @@ static void setup_shared_ram_perms(u32 client_id, phys_addr_t addr, u32 size)
                if (ret == -ENOSYS)
                        pr_warn("hyp_assign_phys is not supported!");
                else
-                       pr_err("hyp_assign_phys failed IPA=0x%016llX size=%u err=%d\n",
-                               addr, size, ret);
+                       pr_err("hyp_assign_phys failed IPA=0x016%pa size=%u err=%d\n",
+                               &addr, size, ret);
        }
 }