From: Scott Wood Date: Thu, 12 Mar 2015 03:13:54 +0000 (-0500) Subject: jfs: %pf is only for function pointers X-Git-Tag: v4.14-rc1~5604^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d2ac45611b072a24e5014a56a65e6be31c1f884;p=platform%2Fkernel%2Flinux-rpi.git jfs: %pf is only for function pointers Use %ps for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pf expects a function descriptor. Signed-off-by: Scott Wood Signed-off-by: Dave Kleikamp Cc: jfs-discussion@lists.sourceforge.net --- diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 5d30c56..4cd9798f 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -102,7 +102,7 @@ void jfs_error(struct super_block *sb, const char *fmt, ...) vaf.fmt = fmt; vaf.va = &args; - pr_err("ERROR: (device %s): %pf: %pV\n", + pr_err("ERROR: (device %s): %ps: %pV\n", sb->s_id, __builtin_return_address(0), &vaf); va_end(args);