Found one area that needed to be fixed in the 8.2.4 patches.

Remove incorrect use of #ifdef for an on stack waitqueue. Upstream driver
always uses DECLARE_WAIT_QUEUE_HEAD_ONSTACK();

Signed-off-by: James Smart <[EMAIL PROTECTED]>


diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c     2008-01-14 13:06:49.000000000 -0500
+++ b/drivers/scsi/lpfc/lpfc_scsi.c     2008-01-14 13:11:06.000000000 -0500
@@ -1041,12 +1041,7 @@ lpfc_abort_handler(struct scsi_cmnd *cmn
        struct lpfc_scsi_buf *lpfc_cmd;
        IOCB_t *cmd, *icmd;
        int ret = SUCCESS;
-#ifdef DECLARE_WAIT_QUEUE_HEAD_ONSTACK
        DECLARE_WAIT_QUEUE_HEAD_ONSTACK(waitq);
-#else
-       DECLARE_WAIT_QUEUE_HEAD(waitq);
-#endif
-
 
        lpfc_block_error_handler(cmnd);
        lpfc_cmd = (struct lpfc_scsi_buf *)cmnd->host_scribble;


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to