summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_error.c
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-03-25 14:56:21 +1100
committerDave Chinner <david@fromorbit.com>2015-03-25 14:56:21 +1100
commit65dd297ac25565701fead5e4ee69b9ca62729f0e (patch)
tree2d500028f2328edbe7d0da5aac48a70db48a9736 /fs/xfs/xfs_error.c
parent29916df08db4726c92bdfe72ce524b4b6a9e3c54 (diff)
downloadlinux-65dd297ac25565701fead5e4ee69b9ca62729f0e.tar.gz
linux-65dd297ac25565701fead5e4ee69b9ca62729f0e.tar.bz2
linux-65dd297ac25565701fead5e4ee69b9ca62729f0e.zip
xfs: %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 <scottwood@freescale.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_error.c')
-rw-r--r--fs/xfs/xfs_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_error.c b/fs/xfs/xfs_error.c
index 3ee186ac1093..338e50bbfd1e 100644
--- a/fs/xfs/xfs_error.c
+++ b/fs/xfs/xfs_error.c
@@ -131,7 +131,7 @@ xfs_error_report(
{
if (level <= xfs_error_level) {
xfs_alert_tag(mp, XFS_PTAG_ERROR_REPORT,
- "Internal error %s at line %d of file %s. Caller %pF",
+ "Internal error %s at line %d of file %s. Caller %pS",
tag, linenum, filename, ra);
xfs_stack_trace();