From: Nicolas Iooss Date: Sun, 10 Dec 2017 19:23:11 +0000 (+0100) Subject: scsi: fnic: add a space after %p in printf format X-Git-Tag: v4.19~1382^2~253 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f280c77dc9bb850bc49a126ef5a088e7340a61b6;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/fnic/fnic_scsi.c b/drivers/scsi/fnic/fnic_scsi.c index 242e2ee..8cbd3c9 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,