Skip to contentSkip to conversation

lpfc 8.2.4 fixup: always use stack waitqueue

PATCH New James Smart 1 participant 1 message Jan 14, 2008

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

PATCH 1/1 lpfc 8.2.4 fixup: always use stack waitqueue

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();

drivers/scsi/lpfc/lpfc_scsi.c +0 -5
diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -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;