]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Catch attempts to disable already-disabled devices
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Mon, 4 Feb 2013 11:56:01 +0000 (15:56 +0400)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 12 Feb 2013 00:25:04 +0000 (17:25 -0700)
commit36e070975e1397018700b7aac9f6bc8037d97f43
tree0c46af88031a7e334044a892dcf24fca6efe2e44
parente1c5a9dbb9812be7f34cd578578fa683bcd41c33
PCI: Catch attempts to disable already-disabled devices

Warn when disabling a device that has already been disabled.

[bhelgaas: message wording]
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pci/pci.c