summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2026-02-06 17:09:48 -0600
committerBjorn Helgaas <bhelgaas@google.com>2026-02-06 17:09:48 -0600
commit7d24571321b5acdd086203ee80818d7d80651ad2 (patch)
treeb5a54fc0ed9cdc839ecd8e458285ab9c27093b4e /drivers/pci
parent5457880be10a5749e63ca05a2958d02048c57c90 (diff)
parent3a11167d918a0b727239cedc7bb83f2329bcc49f (diff)
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
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/pci-host-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-host-common.c b/drivers/pci/controller/pci-host-common.c
index c473e7c03bac..d6258c1cffe5 100644
--- a/drivers/pci/controller/pci-host-common.c
+++ b/drivers/pci/controller/pci-host-common.c
@@ -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);
}