This is a note to let you know that I've just added the patch titled

    [SCSI] mpt2sas: add missing initialization of scsih_cmds

to the 2.6.36-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     mpt2sas-add-missing-initialization-of-scsih_cmds.patch
and it can be found in the queue-2.6.36 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From d685c262083dcd5fd98b7499b22a377a3225229c Mon Sep 17 00:00:00 2001
From: Kashyap, Desai <[email protected]>
Date: Tue, 17 Nov 2009 13:16:37 +0530
Subject: [SCSI] mpt2sas: add missing initialization of scsih_cmds

From: Kashyap, Desai <[email protected]>

commit d685c262083dcd5fd98b7499b22a377a3225229c upstream.

Internal command scsih_cmds init is included in mpt2sas_base_attach.

Signed-off-by: Kashyap Desai <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/scsi/mpt2sas/mpt2sas_base.c |    5 +++++
 1 file changed, 5 insertions(+)

--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -3662,6 +3662,11 @@ mpt2sas_base_attach(struct MPT2SAS_ADAPT
        ioc->scsih_cmds.status = MPT2_CMD_NOT_USED;
        mutex_init(&ioc->scsih_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;


Patches currently in stable-queue which might be from [email protected] are

queue-2.6.36/mpt2sas-kernel-panic-during-large-topology-discovery.patch
queue-2.6.36/mpt2sas-fix-the-race-between-broadcast-asyn-event-and-scsi-command-completion.patch
queue-2.6.36/mpt2sas-correct-resizing-calculation-for-max_queue_depth.patch
queue-2.6.36/mpt2sas-add-missing-initialization-of-scsih_cmds.patch
queue-2.6.36/mpt2sas-fix-integrated-raid-unsynced-on-shutdown-problem.patch
queue-2.6.36/mpt2sas-fix-internal-device-reset-for-older-firmware-prior-to-mpi-rev-k.patch
queue-2.6.36/mpt2sas-fix-device-removal-handshake-for-zoned-devices.patch

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to