All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iscsi: fix compile error when debug enabled
@ 2007-10-25 20:04 Tony Battersby
  2007-10-25 22:05 ` Mike Christie
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Battersby @ 2007-10-25 20:04 UTC (permalink / raw)
  To: linux-scsi, open-iscsi

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

Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
---
--- linux-2.6.24-rc1/drivers/scsi/libiscsi.c.orig	2007-10-25 15:56:32.000000000 -0400
+++ linux-2.6.24-rc1/drivers/scsi/libiscsi.c	2007-10-25 15:56:49.000000000 -0400
@@ -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;
 	}



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] iscsi: fix compile error when debug enabled
  2007-10-25 20:04 [PATCH] iscsi: fix compile error when debug enabled Tony Battersby
@ 2007-10-25 22:05 ` Mike Christie
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Christie @ 2007-10-25 22:05 UTC (permalink / raw)
  To: open-iscsi; +Cc: linux-scsi

Tony Battersby wrote:
> 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.

> Signed-off-by: Tony Battersby <tonyb@cybernetics.com>
> ---
> --- linux-2.6.24-rc1/drivers/scsi/libiscsi.c.orig	2007-10-25 15:56:32.000000000 -0400
> +++ linux-2.6.24-rc1/drivers/scsi/libiscsi.c	2007-10-25 15:56:49.000000000 -0400
> @@ -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 open-iscsi@googlegroups.com
> To unsubscribe from this group, send email to open-iscsi-unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/open-iscsi
> -~----------~----~----~----~------~----~------~--~---
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-25 22:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 20:04 [PATCH] iscsi: fix compile error when debug enabled Tony Battersby
2007-10-25 22:05 ` Mike Christie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.