PCI: Make FLR and AF FLR reset warning messages different
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 12 Nov 2014 02:41:51 +0000 (13:41 +1100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2014 17:28:02 +0000 (10:28 -0700)
commitbb383e283b2c2dca8eb5152a1a2477efcc469431
tree52bd8117cbeac08ea590ff267e77a9ed60d2daca
parent754834b9caae8d1380f66a5f0337547e9361094d
PCI: Make FLR and AF FLR reset warning messages different

We have same warning message for FLR and AF FLR and users can't know which
type of resets the PCI device is taking when there are pending
transactions.  Print different messages for FLR and AF FLR cases.

[bhelgaas: make code structure parallel, add "anyway" to suggest risk]
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c