From: Knut Omang Date: Wed, 20 Jul 2016 06:15:24 +0000 (+0200) Subject: sif: Let sif_remove implement the shutdown entry point X-Git-Tag: v4.1.12-92~96^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8f48cfbbc00ffbd4e61debf90cdcfd73ef905638;p=users%2Fjedix%2Flinux-maple.git sif: Let sif_remove implement the shutdown entry point Due to bugs in the FLR handling on PSIF 2.1, we need to make sure that the driver gets to do a full unload whenever possible. Simply let the shutdown entry point be sif_remove similar to the remove entry point. Orabug: 24322970 Signed-off-by: Knut Omang Reviewed-by: HÃ¥kon Bugge --- diff --git a/drivers/infiniband/hw/sif/sif_main.c b/drivers/infiniband/hw/sif/sif_main.c index 2c3c7a5d7739..3ae36130bcd6 100644 --- a/drivers/infiniband/hw/sif/sif_main.c +++ b/drivers/infiniband/hw/sif/sif_main.c @@ -67,6 +67,7 @@ static struct pci_driver sif_driver = { .id_table = pci_table, .probe = sif_probe, .remove = sif_remove, + .shutdown = sif_remove, .sriov_configure = sif_vf_enable, };