diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-08-05 21:43:29 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 09:09:45 -0700 |
commit | fc3850458c176a3cf925771ec822f9537d1dbbc6 (patch) | |
tree | c137f7f1819b388ed23c72e86b779e5bd70fdf5b /drivers/scsi/cxgbi | |
parent | 8e5a9484aee8d48f7dd3739c139ac684b30e6201 (diff) | |
download | linux-fc3850458c176a3cf925771ec822f9537d1dbbc6.tar.gz linux-fc3850458c176a3cf925771ec822f9537d1dbbc6.tar.bz2 linux-fc3850458c176a3cf925771ec822f9537d1dbbc6.zip |
scsi: fix decimal printf format specifiers prefixed with 0x
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/cxgbi')
-rw-r--r-- | drivers/scsi/cxgbi/libcxgbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c index d65df6dc106f..4cc9787f55bd 100644 --- a/drivers/scsi/cxgbi/libcxgbi.c +++ b/drivers/scsi/cxgbi/libcxgbi.c @@ -1807,7 +1807,7 @@ static void csk_return_rx_credits(struct cxgbi_sock *csk, int copied) u32 credits; log_debug(1 << CXGBI_DBG_PDU_RX, - "csk 0x%p,%u,0x%lu,%u, seq %u, wup %u, thre %u, %u.\n", + "csk 0x%p,%u,0x%lx,%u, seq %u, wup %u, thre %u, %u.\n", csk, csk->state, csk->flags, csk->tid, csk->copied_seq, csk->rcv_wup, cdev->rx_credit_thres, cdev->rcv_win); |