Merge branch 'pci/controller/generic'

- Reword 'reg' property error message to account for both missing and
  malformed properties (Jess)

* pci/controller/generic:
  PCI: host-generic: Avoid reporting incorrect 'missing reg property' error
This commit is contained in:
Bjorn Helgaas 2026-02-06 17:09:48 -06:00
commit 7d24571321

View File

@ -32,7 +32,7 @@ struct pci_config_window *pci_host_common_ecam_create(struct device *dev,
err = of_address_to_resource(dev->of_node, 0, &cfgres);
if (err) {
dev_err(dev, "missing \"reg\" property\n");
dev_err(dev, "missing or malformed \"reg\" property\n");
return ERR_PTR(err);
}