diff options
author | kxie@chelsio.com <kxie@chelsio.com> | 2009-12-10 06:25:36 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-10 16:45:58 +0100 |
commit | 0109abffbf91b76e2a34e324a407d780a55fc1ab (patch) | |
tree | cf29cd56791116e50b9f73c6b4a4cd0909ef4fdd /drivers/scsi/cxgb3i/cxgb3i_pdu.c | |
parent | [SCSI] bnx2i: minor code cleanup and update driver version (diff) | |
download | linux-0109abffbf91b76e2a34e324a407d780a55fc1ab.tar.xz linux-0109abffbf91b76e2a34e324a407d780a55fc1ab.zip |
[SCSI] cxgb3i: always use negative errno in case of error
Signed-off-by: Karen Xie <kxie@chelsio.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i_pdu.c')
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_pdu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_pdu.c b/drivers/scsi/cxgb3i/cxgb3i_pdu.c index 709105071177..1fe3b0f1f3c9 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_pdu.c +++ b/drivers/scsi/cxgb3i/cxgb3i_pdu.c @@ -388,8 +388,8 @@ int cxgb3i_conn_xmit_pdu(struct iscsi_task *task) if (err > 0) { int pdulen = err; - cxgb3i_tx_debug("task 0x%p, skb 0x%p, len %u/%u, rv %d.\n", - task, skb, skb->len, skb->data_len, err); + cxgb3i_tx_debug("task 0x%p, skb 0x%p, len %u/%u, rv %d.\n", + task, skb, skb->len, skb->data_len, err); if (task->conn->hdrdgst_en) pdulen += ISCSI_DIGEST_SIZE; |