RE: [PATCH] mpt2sas : missing initialization of scsih_cmds is included

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx]
> Sent: Tuesday, November 17, 2009 1:17 PM
> To: linux-scsi@xxxxxxxxxxxxxxx
> Cc: James.Bottomley@xxxxxxxxxxxxxxxxxxxxx; 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@xxxxxxx>
> ---
> 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux