PCI: Improve pdev_sort_resources() warning message
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 17 Oct 2024 09:55:45 +0000 (12:55 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 18 Oct 2024 23:41:11 +0000 (18:41 -0500)
commit19f73e938df2b8edfa2e93e0280bd26fd4df5b92
treecaf5a99fb3acef37b3513526fc144d246ccd254a
parente3bdd2dd3f618d0bb9f500aae17df2b4f726dca1
PCI: Improve pdev_sort_resources() warning message

Use pci_resource_name() helper in pdev_sort_resources() to print resources
in user-friendly format. Also replace the vague "bogus alignment" with a
more precise explanation of the problem.

Link: https://lore.kernel.org/r/20241017095545.1424-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Philipp Stanner <pstanner@redhat.com>
drivers/pci/setup-bus.c