]> git.baikalelectronics.ru Git - kernel.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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 12 Dec 2017 02:43:00 +0000 (21:43 -0500)
commitd03bcb3191a453d6c90adc2c48b871ae00143c83
tree7105c85db13950915731b26e951fd072c48bf94d
parent7df6b346511f7a139dd22ee1c33daa28fe21438f
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>
drivers/scsi/fnic/fnic_scsi.c