-----Original Message----- From: linux-scsi-owner@vger.kernel.org <linux-scsi- owner@vger.kernel.org> On Behalf Of Sreekanth Reddy Sent: Wednesday, March 11, 2020 6:50 AM To: Amit Shah amit@kernel.org 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@broadcom.com wrote:
On Wed, Mar 11, 2020 at 4:35 PM Amit Shah amit@kernel.org 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.