Commit 7d2ac456 authored by Scott Wood's avatar Scott Wood Committed by Dave Kleikamp

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: default avatarScott Wood <>
Signed-off-by: default avatarDave Kleikamp <>
parent 09d35919
......@@ -102,7 +102,7 @@ void jfs_error(struct super_block *sb, const char *fmt, ...)
vaf.fmt = fmt; = &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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment