* [PATCH] lpfc 8.2.4 fixup: always use stack waitqueue
@ 2008-01-14 18:15 James Smart
0 siblings, 0 replies; only message in thread
From: James Smart @ 2008-01-14 18:15 UTC (permalink / raw)
To: linux-scsi
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 <James.Smart@emulex.com>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-14 18:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14 18:15 [PATCH] lpfc 8.2.4 fixup: always use stack waitqueue James Smart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox