diff options
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | 2017-12-10 20:23:11 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-11 21:43:00 -0500 |
commit | f280c77dc9bb850bc49a126ef5a088e7340a61b6 (patch) | |
tree | 7105c85db13950915731b26e951fd072c48bf94d /drivers/scsi/fnic | |
parent | e8fd31c5543240d866492769e0e3b6a54b1df7b7 (diff) | |
download | linux-f280c77dc9bb850bc49a126ef5a088e7340a61b6.tar.gz linux-f280c77dc9bb850bc49a126ef5a088e7340a61b6.tar.bz2 linux-f280c77dc9bb850bc49a126ef5a088e7340a61b6.zip |
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>
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r-- | drivers/scsi/fnic/fnic_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c index 242e2ee494a1..8cbd3c9f0b4c 100644 --- a/drivers/scsi/fnic/fnic_scsi.c +++ b/drivers/scsi/fnic/fnic_scsi.c @@ -906,7 +906,7 @@ static void fnic_fcpio_icmnd_cmpl_handler(struct fnic *fnic, FNIC_SCSI_DBG(KERN_INFO, fnic->lport->host, "icmnd_cmpl abts pending " - "hdr status = %s tag = 0x%x sc = 0x%p" + "hdr status = %s tag = 0x%x sc = 0x%p " "scsi_status = %x residual = %d\n", fnic_fcpio_status_to_str(hdr_status), id, sc, |