diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-08-06 00:43:29 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-16 12:09:45 -0400 |
commit | fc3850458c176a3cf925771ec822f9537d1dbbc6 (patch) | |
tree | c137f7f1819b388ed23c72e86b779e5bd70fdf5b /drivers/scsi/cxgbi | |
parent | 8e5a9484aee8d48f7dd3739c139ac684b30e6201 (diff) |
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) | |||
1807 | u32 credits; | 1807 | u32 credits; |
1808 | 1808 | ||
1809 | log_debug(1 << CXGBI_DBG_PDU_RX, | 1809 | log_debug(1 << CXGBI_DBG_PDU_RX, |
1810 | "csk 0x%p,%u,0x%lu,%u, seq %u, wup %u, thre %u, %u.\n", | 1810 | "csk 0x%p,%u,0x%lx,%u, seq %u, wup %u, thre %u, %u.\n", |
1811 | csk, csk->state, csk->flags, csk->tid, csk->copied_seq, | 1811 | csk, csk->state, csk->flags, csk->tid, csk->copied_seq, |
1812 | csk->rcv_wup, cdev->rx_credit_thres, | 1812 | csk->rcv_wup, cdev->rx_credit_thres, |
1813 | cdev->rcv_win); | 1813 | cdev->rcv_win); |