From aff68a5502d24be416e256478448e228f1a88aaf Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Tue, 9 Jan 2018 11:46:05 -0800 Subject: xfs: use %pS printk format for direct instruction addresses Use the %pS instead of the %pF printk format specifier for printing symbols from direct addresses. This is needed for the ia64, ppc64 and parisc64 architectures. While we're at it, be consistent with the capitalization of the 'S'. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner --- fs/xfs/xfs_inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs/xfs/xfs_inode.c') diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index e93fb885bbc5..29c47da383e0 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -3492,7 +3492,7 @@ xfs_inode_verify_forks( fa = xfs_ifork_verify_data(ip, &xfs_default_ifork_ops); if (fa) { xfs_alert(ip->i_mount, - "%s: bad inode %llu inline data fork at %pF", + "%s: bad inode %llu inline data fork at %pS", __func__, ip->i_ino, fa); return false; } @@ -3500,7 +3500,7 @@ xfs_inode_verify_forks( fa = xfs_ifork_verify_attr(ip, &xfs_default_ifork_ops); if (fa) { xfs_alert(ip->i_mount, - "%s: bad inode %llu inline attr fork at %pF", + "%s: bad inode %llu inline attr fork at %pS", __func__, ip->i_ino, fa); return false; } -- cgit v1.2.3