> -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx <linux-scsi- > owner@xxxxxxxxxxxxxxx> On Behalf Of Sreekanth Reddy > Sent: Wednesday, March 11, 2020 6:50 AM > To: Amit Shah <amit@xxxxxxxxxx> > Subject: Re: [PATCH] mpt3sas: Fix kernel panic observed on soft HBA > unplug > > On Wed, Mar 11, 2020 at 4:55 PM Sreekanth Reddy > <sreekanth.reddy@xxxxxxxxxxxx> wrote: > > > > On Wed, Mar 11, 2020 at 4:35 PM Amit Shah <amit@xxxxxxxxxx> wrote: ... > > > > @@ -9992,8 +9992,8 @@ static void scsih_remove(struct pci_dev > *pdev) > > > > > > Just a note: this function is scsih_shutdown(). Doesn't block > > > application of the patch, though. Just wondering how the patch was > > > created. > > I got your query now, yes this hunk change is in scsih_shutdown() > function. I am not sure why scsih_remove name is getting displayed > here in this hunk. I have used 'git format-patch' to generate the > patch. > The scsih_shutdown() function definition is spread over three lines (although it could easily fit on one line), while scsih_remove() was the last function whose definition was on one line. git is apparently not recognizing scsi_shutdown() as a function definition.