ACK Sincerely -- Mark Salyzyn On Mar 8, 2012, at 6:43 AM, Mahesh Bagepalli Rajashekhara - ERS, HCL Tech wrote: > Hi James, > > This patch fixes the kernel oops in the error handler "aac_eh_abort" function. > > This attached patch is against current upstream kernel > > ObligatoryDisclaimer: Please accept my condolences regarding Outlook's handling of patch attachments (inline gets damaged, please use attachment). > > Signed-off-by: Mahesh Rajashekhara <aacraid@xxxxxxxxxxxxxx> > > --- > > drivers/scsi/aacraid/commsup.c | 1 + > drivers/scsi/aacraid/linit.c | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff -purN a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c > --- a/drivers/scsi/aacraid/commsup.c 2012-03-08 14:28:50.000000000 +0530 > +++ b/drivers/scsi/aacraid/commsup.c 2012-03-08 14:31:51.000000000 +0530 > @@ -136,6 +136,7 @@ int aac_fib_setup(struct aac_dev * dev) > i < (dev->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); > i++, fibptr++) > { > + fibptr->flags = 0; > fibptr->dev = dev; > fibptr->hw_fib_va = hw_fib; > fibptr->data = (void *) fibptr->hw_fib_va->data; > diff -purN a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c > --- a/drivers/scsi/aacraid/linit.c 2012-03-08 14:28:34.000000000 +0530 > +++ b/drivers/scsi/aacraid/linit.c 2012-03-08 14:30:55.000000000 +0530 > @@ -1157,7 +1157,7 @@ static int __devinit aac_probe_one(struc > aac->cardtype = index; > INIT_LIST_HEAD(&aac->entry); > > - aac->fibs = kmalloc(sizeof(struct fib) * (shost->can_queue + AAC_NUM_MGT_FIB), GFP_KERNEL); > + aac->fibs = kzalloc(sizeof(struct fib) * (shost->can_queue + AAC_NUM_MGT_FIB), GFP_KERNEL); > if (!aac->fibs) > goto out_free_host; > spin_lock_init(&aac->fib_lock); -- 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