projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d3591
)
jfs: %pf is only for function pointers
author
Scott Wood
<scottwood@freescale.com>
Thu, 12 Mar 2015 03:13:54 +0000
(22:13 -0500)
committer
Dave Kleikamp
<dave.kleikamp@oracle.com>
Thu, 12 Mar 2015 17:32:19 +0000
(12:32 -0500)
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 <scottwood@freescale.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: jfs-discussion@lists.sourceforge.net
fs/jfs/super.c
patch
|
blob
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index
5d30c56
..
4cd9798
100644
(file)
--- 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): %p
f
: %pV\n",
+ pr_err("ERROR: (device %s): %p
s
: %pV\n",
sb->s_id, __builtin_return_address(0), &vaf);
va_end(args);