Re: [PATCH] aacraid driver oops with dead battery

2018-01-03 Thread Martin K. Petersen
Meelis, > The battery in my HP NetRAID-4M died of old age, and the aacraid > driver started oopsing with NULL pointer dereference on startup after > that. > > Fix it by reordering the init sequence to fill in function pointers > before ioremapping memory, or dev->a_ops.adapter_ioremap pointer wil

RE: [PATCH] aacraid driver oops with dead battery

2018-01-03 Thread Raghava Aditya Renukunta
> -Original Message- > From: mr...@math.ut.ee [mailto:mr...@math.ut.ee] On Behalf Of Meelis > Roos > Sent: Wednesday, January 3, 2018 1:11 AM > To: linux-scsi@vger.kernel.org; dl-esc-Aacraid Linux Driver > > Subject: [PATCH] aacraid driver oops with dead batter

[PATCH] aacraid driver oops with dead battery

2018-01-03 Thread Meelis Roos
The battery in my HP NetRAID-4M died of old age, and the aacraid driver started oopsing with NULL pointer dereference on startup after that. Fix it by reordering the init sequence to fill in function pointers before ioremapping memory, or dev->a_ops.adapter_ioremap pointer will be NULL. Other