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 <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:
Darrick J. Wong
2018-01-09 11:46:05 -08:00
parent 3d170aa242
commit aff68a5502
3 changed files with 23 additions and 23 deletions

View File

@@ -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;
}