lkml.org 
[lkml]   [2017]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 35/48] fs/xfs: Use %pS printk format for direct addresses
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Helge Deller <deller@gmx.de>

    commit e150dcd459e1b441eaf08f341a986f04e61bf3b8 upstream.

    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.

    Signed-off-by: Helge Deller <deller@gmx.de>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    fs/xfs/xfs_error.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/fs/xfs/xfs_error.c
    +++ b/fs/xfs/xfs_error.c
    @@ -167,7 +167,7 @@ xfs_verifier_error(
    {
    struct xfs_mount *mp = bp->b_target->bt_mount;

    - xfs_alert(mp, "Metadata %s detected at %pF, %s block 0x%llx",
    + xfs_alert(mp, "Metadata %s detected at %pS, %s block 0x%llx",
    bp->b_error == -EFSBADCRC ? "CRC error" : "corruption",
    __return_address, bp->b_ops->name, bp->b_bn);


    \
     
     \ /
      Last update: 2017-10-24 15:34    [W:3.459 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site