]> Git Repo - linux.git/commitdiff
scsi: lpfc: Add shutdown method for kexec
authorAnton Blanchard <[email protected]>
Sun, 12 Feb 2017 21:49:20 +0000 (08:49 +1100)
committerMartin K. Petersen <[email protected]>
Wed, 8 Mar 2017 01:29:10 +0000 (20:29 -0500)
We see lpfc devices regularly fail during kexec. Fix this by adding a
shutdown method which mirrors the remove method.

Cc: <[email protected]>
Signed-off-by: Anton Blanchard <[email protected]>
Reviewed-by: Mauricio Faria de Oliveira <[email protected]>
Tested-by: Mauricio Faria de Oliveira <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/lpfc/lpfc_init.c

index 661bd25a404a2fde05d75a42f0db9d37460abbc2..2697d49da4d7762d13430cfd9737463d909bf93f 100644 (file)
@@ -12059,6 +12059,7 @@ static struct pci_driver lpfc_driver = {
        .id_table       = lpfc_id_table,
        .probe          = lpfc_pci_probe_one,
        .remove         = lpfc_pci_remove_one,
+       .shutdown       = lpfc_pci_remove_one,
        .suspend        = lpfc_pci_suspend_one,
        .resume         = lpfc_pci_resume_one,
        .err_handler    = &lpfc_err_handler,
This page took 0.078018 seconds and 4 git commands to generate.