commit | 1f7bf3bfb5d60c87dcaa708fd9eabbec93f15830 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Thu Mar 12 12:30:11 2015 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Mar 12 18:52:22 2015 -0500 |
tree | 4d958ba0627b2984e63d3885a4e00048260d476d | |
parent | c770cb4cb505c096eaca0fbbca3169c3aa4c3474 [diff] |
PCI: Show driver, BAR#, and resource on pci_ioremap_bar() failure Use dev_warn() to complain about a pci_ioremap_bar() failure so we can include the driver name, BAR number, and the resource itself. We could use dev_WARN() to also get the backtrace as we did previously, but I think that's more information than we need. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>