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)
commitfd6dceab017e6be6c158dc56ec6dacf817f21a5b
tree0c46af88031a7e334044a892dcf24fca6efe2e44
parent7897e6022761ace7377f0f784fca059da55f5d71
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