* [PATCH] mpt2sas : missing initialization of scsih_cmds is included
@ 2009-11-17 7:46 Kashyap, Desai
2009-12-07 18:49 ` Desai, Kashyap
0 siblings, 1 reply; 2+ messages in thread
From: Kashyap, Desai @ 2009-11-17 7:46 UTC (permalink / raw)
To: linux-scsi; +Cc: James.Bottomley, Eric.Moore, Sathya.Prakash
Internal command scsih_cmds init is included in mpt2sas_base_attach.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
---
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 6422e25..89d0240 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -3583,6 +3583,11 @@ mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc)
ioc->transport_cmds.status = MPT2_CMD_NOT_USED;
mutex_init(&ioc->transport_cmds.mutex);
+ /* scsih internal command bits */
+ ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
+ ioc->scsih_cmds.status = MPT2_CMD_NOT_USED;
+ mutex_init(&ioc->scsih_cmds.mutex);
+
/* task management internal command bits */
ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
ioc->tm_cmds.status = MPT2_CMD_NOT_USED;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] mpt2sas : missing initialization of scsih_cmds is included
2009-11-17 7:46 [PATCH] mpt2sas : missing initialization of scsih_cmds is included Kashyap, Desai
@ 2009-12-07 18:49 ` Desai, Kashyap
0 siblings, 0 replies; 2+ messages in thread
From: Desai, Kashyap @ 2009-12-07 18:49 UTC (permalink / raw)
To: James Bottomley; +Cc: Moore, Eric, Prakash, Sathya, linux-scsi
James,
This patch is fix in mpt2sas 03.100.03.00 included in 2.6.33.
Can you please include this patch in 2.6.33?
- Kashyap
> -----Original Message-----
> From: Kashyap, Desai [mailto:kashyap.desai@lsi.com]
> Sent: Tuesday, November 17, 2009 1:17 PM
> To: linux-scsi@vger.kernel.org
> Cc: James.Bottomley@HansenPartnership.com; Moore, Eric; Prakash, Sathya
> Subject: [PATCH] mpt2sas : missing initialization of scsih_cmds is
> included
>
>
> Internal command scsih_cmds init is included in mpt2sas_base_attach.
>
> Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
> ---
> diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c
> b/drivers/scsi/mpt2sas/mpt2sas_base.c
> index 6422e25..89d0240 100644
> --- a/drivers/scsi/mpt2sas/mpt2sas_base.c
> +++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
> @@ -3583,6 +3583,11 @@ mpt2sas_base_attach(struct MPT2SAS_ADAPTER *ioc)
> ioc->transport_cmds.status = MPT2_CMD_NOT_USED;
> mutex_init(&ioc->transport_cmds.mutex);
>
> + /* scsih internal command bits */
> + ioc->scsih_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
> + ioc->scsih_cmds.status = MPT2_CMD_NOT_USED;
> + mutex_init(&ioc->scsih_cmds.mutex);
> +
> /* task management internal command bits */
> ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL);
> ioc->tm_cmds.status = MPT2_CMD_NOT_USED;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-07 18:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-17 7:46 [PATCH] mpt2sas : missing initialization of scsih_cmds is included Kashyap, Desai
2009-12-07 18:49 ` Desai, Kashyap
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.