diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2009-11-17 13:16:37 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-10 08:54:10 -0600 |
commit | d685c262083dcd5fd98b7499b22a377a3225229c (patch) | |
tree | 65c06cc1a409de29fea9bbfed6a40231027dc2ff /drivers/scsi/mpt2sas | |
parent | 6f4fdda41b01100cfe02afb1b84bf422cbf557d4 (diff) | |
download | kernel_samsung_espresso10-d685c262083dcd5fd98b7499b22a377a3225229c.zip kernel_samsung_espresso10-d685c262083dcd5fd98b7499b22a377a3225229c.tar.gz kernel_samsung_espresso10-d685c262083dcd5fd98b7499b22a377a3225229c.tar.bz2 |
[SCSI] mpt2sas: add missing initialization of scsih_cmds
Internal command scsih_cmds init is included in mpt2sas_base_attach.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_base.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |