Bjorn Helgaas cd8a4d3657 PCI: Check IORESOURCE_UNSET before updating BAR
Check to make sure we don't update a BAR with an address we haven't
assigned.

If we haven't assigned an address to a resource, we shouldn't write it to a
BAR.  This isn't a problem for the usual path via pci_assign_resource(),
which clears IORESOURCE_UNSET before calling pci_update_resource(), but
paths like pci_restore_bars() can call this for resources we haven't
assigned.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-02-27 10:43:32 -07:00
..
2014-01-23 18:36:55 -08:00
2014-01-13 11:14:43 -07:00
2014-01-10 14:23:15 -07:00
2014-01-07 17:34:39 -07:00
2014-01-13 11:57:29 -07:00
2014-01-13 11:14:44 -07:00
2014-01-22 22:00:18 -08:00