lpfc 8.2.4 fixup: always use stack waitqueue
Subsystems (2)
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();
Signed-off-by James Smart <[email protected]>
drivers/scsi/lpfc/lpfc_scsi.c +0 -5
@@ -1041,12 +1041,7 @@ lpfc_abort_handler(struct scsi_cmnd *cmnstruct 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;