Skip to contentSkip to conversation

iscsi: fix compile error when debug enabled

PATCH In review Tony Battersby 2 participants 2 messages Oct 25, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iscsi: fix compile error when debug enabled

This patch fixes a compile error in iSCSI when DEBUG_SCSI is defined.

---

drivers/scsi/libiscsi.c renamed from drivers/scsi/libiscsi.c.orig +1 -1
@@ -1058,7 +1058,7 @@ static int iscsi_exec_abort_task(struct 
 	if (!ctask->mtask) {
 		spin_unlock_bh(&session->lock);
 		iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED);
-		spin_lock_bh(&session->lock)
+		spin_lock_bh(&session->lock);
 		debug_scsi("abort sent failure [itt 0x%x]\n", ctask->itt);
 		return -EPERM;
 	}
#1 lore raw
Quoted 2 lines · Tony Battersby

This patch fixes a compile error in iSCSI when DEBUG_SCSI is defined.

Thanks we have a patch for that in the iscsi tree already.

Quoted 23 lines

---

drivers/scsi/libiscsi.c renamed from drivers/scsi/libiscsi.c.orig +1 -2
@@ -1058,7 +1058,7 @@ static int iscsi_exec_abort_task(struct 
 	if (!ctask->mtask) {
 		spin_unlock_bh(&session->lock);
 		iscsi_conn_failure(conn, ISCSI_ERR_CONN_FAILED);
-		spin_lock_bh(&session->lock)
+		spin_lock_bh(&session->lock);
 		debug_scsi("abort sent failure [itt 0x%x]\n", ctask->itt);
 		return -EPERM;
 	}
 
 
 
--~--~---------~--~----~------------~-------~--~----~

You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---