summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@codeaurora.org>2018-07-21 12:20:55 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-10-08 22:25:49 -0700
commit3cf057d71cc3db969a1981a2829ee3c98809889f (patch)
tree0f7f047672745624c54dba34b1e8f8514844aee2
parent3b8fc0b7a3fcc809378d82dbf66b417e186af205 (diff)
sdcardfs: Fix the format prints in sdcardfs
Fix the %p format prints with %pK. Change-Id: I5fbe70350d7b4d986a2b070c9a2602d9d7680dc9 Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
-rw-r--r--fs/sdcardfs/main.c2
-rw-r--r--fs/sdcardfs/super.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/sdcardfs/main.c b/fs/sdcardfs/main.c
index 27ec726e7a46..1ad7718c05d9 100644
--- a/fs/sdcardfs/main.c
+++ b/fs/sdcardfs/main.c
@@ -264,7 +264,7 @@ static int sdcardfs_read_super(struct vfsmount *mnt, struct super_block *sb,
pr_info("sdcardfs: dev_name -> %s\n", dev_name);
pr_info("sdcardfs: options -> %s\n", (char *)raw_data);
- pr_info("sdcardfs: mnt -> %p\n", mnt);
+ pr_info("sdcardfs: mnt -> %pK\n", mnt);
/* parse lower path */
err = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY,
diff --git a/fs/sdcardfs/super.c b/fs/sdcardfs/super.c
index cffcdb11cb8a..fa7d9d2c5c2b 100644
--- a/fs/sdcardfs/super.c
+++ b/fs/sdcardfs/super.c
@@ -144,7 +144,7 @@ static int sdcardfs_remount_fs2(struct vfsmount *mnt, struct super_block *sb,
pr_err("sdcardfs: remount flags 0x%x unsupported\n", *flags);
err = -EINVAL;
}
- pr_info("Remount options were %s for vfsmnt %p.\n", options, mnt);
+ pr_info("Remount options were %s for vfsmnt %pK.\n", options, mnt);
err = parse_options_remount(sb, options, *flags & ~MS_SILENT, mnt->data);