* Re: patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree [not found] <12626340131357@kroah.org> @ 2010-01-04 21:55 ` Stefan Lippers-Hollmann 2010-01-04 23:44 ` Greg KH 0 siblings, 1 reply; 4+ messages in thread From: Stefan Lippers-Hollmann @ 2010-01-04 21:55 UTC (permalink / raw) To: linux-kernel; +Cc: kashyap.desai, gregkh, James.Bottomley, stable Hi On Monday 04 January 2010, gregkh@suse.de wrote: > This is a note to let you know that we have just queued up the patch titled > > Subject: SCSI: mpt2sas: add missing initialization of scsih_cmds > > to the 2.6.32-stable tree. Its filename is > > scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch Adding this patch to 2.6.32 (and likely 2.6.31 as well) breaks building the current stable queue: LD drivers/scsi/mpt2sas/built-in.o CC [M] drivers/scsi/mpt2sas/mpt2sas_base.o drivers/scsi/mpt2sas/mpt2sas_base.c: In function 'mpt2sas_base_attach': drivers/scsi/mpt2sas/mpt2sas_base.c:3500: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' drivers/scsi/mpt2sas/mpt2sas_base.c:3501: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' drivers/scsi/mpt2sas/mpt2sas_base.c:3502: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' make[6]: *** [drivers/scsi/mpt2sas/mpt2sas_base.o] Error 1 make[5]: *** [drivers/scsi/mpt2sas] Error 2 > A git repo of this tree can be found at > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary > > > From d685c262083dcd5fd98b7499b22a377a3225229c Mon Sep 17 00:00:00 2001 > From: Kashyap, Desai <kashyap.desai@lsi.com> > Date: Tue, 17 Nov 2009 13:16:37 +0530 > Subject: SCSI: mpt2sas: add missing initialization of scsih_cmds > > From: Kashyap, Desai <kashyap.desai@lsi.com> > > commit d685c262083dcd5fd98b7499b22a377a3225229c upstream. > > Internal command scsih_cmds init is included in mpt2sas_base_attach. > > Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> > Signed-off-by: James Bottomley <James.Bottomley@suse.de> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> > > --- 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); > + As it seems, the scsih struct member of MPT2SAS_ADAPTER was only added to drivers/scsi/mpt2sas/mpt2sas_base.h during the 2.6.33 merge window, so this patch doesn't seem to be necessary for <2.6.33-rcX. > /* task management internal command bits */ > ioc->tm_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); > ioc->tm_cmds.status = MPT2_CMD_NOT_USED; Regards Stefan Lippers-Hollmann ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree 2010-01-04 21:55 ` patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree Stefan Lippers-Hollmann @ 2010-01-04 23:44 ` Greg KH 2010-01-05 4:43 ` Desai, Kashyap 0 siblings, 1 reply; 4+ messages in thread From: Greg KH @ 2010-01-04 23:44 UTC (permalink / raw) To: Stefan Lippers-Hollmann Cc: linux-kernel, kashyap.desai, James.Bottomley, stable On Mon, Jan 04, 2010 at 10:55:02PM +0100, Stefan Lippers-Hollmann wrote: > Hi > > On Monday 04 January 2010, gregkh@suse.de wrote: > > This is a note to let you know that we have just queued up the patch titled > > > > Subject: SCSI: mpt2sas: add missing initialization of scsih_cmds > > > > to the 2.6.32-stable tree. Its filename is > > > > scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch > > Adding this patch to 2.6.32 (and likely 2.6.31 as well) breaks building the > current stable queue: > > LD drivers/scsi/mpt2sas/built-in.o > CC [M] drivers/scsi/mpt2sas/mpt2sas_base.o > drivers/scsi/mpt2sas/mpt2sas_base.c: In function 'mpt2sas_base_attach': > drivers/scsi/mpt2sas/mpt2sas_base.c:3500: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > drivers/scsi/mpt2sas/mpt2sas_base.c:3501: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > drivers/scsi/mpt2sas/mpt2sas_base.c:3502: error: 'struct MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > make[6]: *** [drivers/scsi/mpt2sas/mpt2sas_base.o] Error 1 > make[5]: *** [drivers/scsi/mpt2sas] Error 2 Thanks, your build system seems faster than mine :) I've deleted this patch from both the .31 and .32 queues. greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree 2010-01-04 23:44 ` Greg KH @ 2010-01-05 4:43 ` Desai, Kashyap 2010-01-05 14:31 ` Greg KH 0 siblings, 1 reply; 4+ messages in thread From: Desai, Kashyap @ 2010-01-05 4:43 UTC (permalink / raw) To: Greg KH, Stefan Lippers-Hollmann Cc: linux-kernel@vger.kernel.org, James.Bottomley@suse.de, stable@kernel.org Greg and Stefan, This patch is counter part of http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=744090d38b47ed8ead8f68b6f0c65866c0b9b17a .31 And .32 does not required this patch to be added, since it does not have commit 744090d38b47ed8ead8f68b6f0c65866c0b9b17a. Thanks, Kashyap > -----Original Message----- > From: Greg KH [mailto:gregkh@suse.de] > Sent: Tuesday, January 05, 2010 5:14 AM > To: Stefan Lippers-Hollmann > Cc: linux-kernel@vger.kernel.org; Desai, Kashyap; James.Bottomley@suse.de; > stable@kernel.org > Subject: Re: patch scsi-mpt2sas-add-missing-initialization-of- > scsih_cmds.patch added to 2.6.32-stable tree > > On Mon, Jan 04, 2010 at 10:55:02PM +0100, Stefan Lippers-Hollmann wrote: > > Hi > > > > On Monday 04 January 2010, gregkh@suse.de wrote: > > > This is a note to let you know that we have just queued up the patch > titled > > > > > > Subject: SCSI: mpt2sas: add missing initialization of scsih_cmds > > > > > > to the 2.6.32-stable tree. Its filename is > > > > > > scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch > > > > Adding this patch to 2.6.32 (and likely 2.6.31 as well) breaks building > the > > current stable queue: > > > > LD drivers/scsi/mpt2sas/built-in.o > > CC [M] drivers/scsi/mpt2sas/mpt2sas_base.o > > drivers/scsi/mpt2sas/mpt2sas_base.c: In function 'mpt2sas_base_attach': > > drivers/scsi/mpt2sas/mpt2sas_base.c:3500: error: 'struct > MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > > drivers/scsi/mpt2sas/mpt2sas_base.c:3501: error: 'struct > MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > > drivers/scsi/mpt2sas/mpt2sas_base.c:3502: error: 'struct > MPT2SAS_ADAPTER' has no member named 'scsih_cmds' > > make[6]: *** [drivers/scsi/mpt2sas/mpt2sas_base.o] Error 1 > > make[5]: *** [drivers/scsi/mpt2sas] Error 2 > > Thanks, your build system seems faster than mine :) > > I've deleted this patch from both the .31 and .32 queues. > > greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree 2010-01-05 4:43 ` Desai, Kashyap @ 2010-01-05 14:31 ` Greg KH 0 siblings, 0 replies; 4+ messages in thread From: Greg KH @ 2010-01-05 14:31 UTC (permalink / raw) To: Desai, Kashyap Cc: Stefan Lippers-Hollmann, linux-kernel@vger.kernel.org, James.Bottomley@suse.de, stable@kernel.org On Tue, Jan 05, 2010 at 10:13:18AM +0530, Desai, Kashyap wrote: > Greg and Stefan, > > This patch is counter part of > http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=744090d38b47ed8ead8f68b6f0c65866c0b9b17a > > .31 And .32 does not required this patch to be added, since it does not have commit 744090d38b47ed8ead8f68b6f0c65866c0b9b17a. Thanks for letting us know. In the future, people might be a bit more careful about marking patches as "apply this for -stable". thanks, greg k-h ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-01-05 14:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <12626340131357@kroah.org>
2010-01-04 21:55 ` patch scsi-mpt2sas-add-missing-initialization-of-scsih_cmds.patch added to 2.6.32-stable tree Stefan Lippers-Hollmann
2010-01-04 23:44 ` Greg KH
2010-01-05 4:43 ` Desai, Kashyap
2010-01-05 14:31 ` Greg KH
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox