aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/efx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 1a065fcadc50..3494f4cd314e 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -793,7 +793,7 @@ static int efx_init_io(struct efx_nic *efx)
793 fail4: 793 fail4:
794 release_mem_region(efx->membase_phys, efx->type->mem_map_size); 794 release_mem_region(efx->membase_phys, efx->type->mem_map_size);
795 fail3: 795 fail3:
796 efx->membase_phys = 0UL; 796 efx->membase_phys = 0;
797 fail2: 797 fail2:
798 pci_disable_device(efx->pci_dev); 798 pci_disable_device(efx->pci_dev);
799 fail1: 799 fail1:
@@ -811,7 +811,7 @@ static void efx_fini_io(struct efx_nic *efx)
811 811
812 if (efx->membase_phys) { 812 if (efx->membase_phys) {
813 pci_release_region(efx->pci_dev, efx->type->mem_bar); 813 pci_release_region(efx->pci_dev, efx->type->mem_bar);
814 efx->membase_phys = 0UL; 814 efx->membase_phys = 0;
815 } 815 }
816 816
817 pci_disable_device(efx->pci_dev); 817 pci_disable_device(efx->pci_dev);