]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: fnic: add a space after %p in printf format
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Sun, 10 Dec 2017 19:23:11 +0000 (20:23 +0100)
committerJack Vogel <jack.vogel@oracle.com>
Wed, 7 Mar 2018 04:11:13 +0000 (20:11 -0800)
commitac245bda77ae2acb1a044cbc7429e0a60dbe3d59
tree7e907df64a7b61ebb4545c0ee64632fd38c19992
parent958b291f78c508429fc89d1504f59e1f57e04250
scsi: fnic: add a space after %p in printf format

fnic_fcpio_icmnd_cmpl_handler() displays the value of sc with:

    FNIC_SCSI_DBG(KERN_INFO...
        "... sc = 0x%p"
        "scsi_status ..."
        ...

As the literal strings get merged, the function uses %ps instead of the
intended raw %p format. Fix this by inserting a space.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit f280c77dc9bb850bc49a126ef5a088e7340a61b6)

Orabug: 27587343
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_scsi.c