[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1456864492-32257-1-git-send-email-dougmill@linux.vnet.ibm.com>
Date: Tue, 1 Mar 2016 14:34:51 -0600
From: Douglas Miller <dougmill@...ux.vnet.ibm.com>
To: netdev@...r.kernel.org
Cc: sathya.perla@...adcom.com, ajit.khaparde@...adcom.com,
padmanabh.ratnakar@...adcom.com,
sriharsha.basavapatna@...adcom.com, somnath.kotur@...adcom.com
Subject: [PATCH 0/1] Fix bug where remove of device fails to free all resources.
The adapter->pcicfg resource is either mapped via pci_iomap() or
derived from adapter->db. During be_remove() this resource was ignored
and so could remain mapped after remove.
Add a flag to track whether adapter->pcicfg was mapped or not, then
use that flag in be_unmap_pci_bars() to unmap if required.
Signed-off-by: Douglas Miller <dougmill@...ux.vnet.ibm.com>
Powered by blists - more mailing lists