diff options
author | Grant Grundler <grundler@parisc-linux.org> | 2005-10-21 22:50:33 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@parisc-linux.org> | 2005-10-21 22:50:33 -0400 |
commit | 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef (patch) | |
tree | e476059c88991ecbf1a7ffafb0b9e21ceb95204a /arch | |
parent | 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f (diff) |
[PARISC] More informative error message in pcibios_link_hba_resources
Generate a more informative message when a resource does not have
a parent.
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/kernel/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/pci.c b/arch/parisc/kernel/pci.c index e6a891a0cad0..88cba49c5301 100644 --- a/arch/parisc/kernel/pci.c +++ b/arch/parisc/kernel/pci.c | |||
@@ -202,7 +202,8 @@ static void | |||
202 | pcibios_link_hba_resources( struct resource *hba_res, struct resource *r) | 202 | pcibios_link_hba_resources( struct resource *hba_res, struct resource *r) |
203 | { | 203 | { |
204 | if (!r->parent) { | 204 | if (!r->parent) { |
205 | printk(KERN_EMERG "PCI: Tell willy he's wrong\n"); | 205 | printk(KERN_EMERG "PCI: resource not parented! [%lx-%lx]\n", |
206 | r->start, r->end); | ||
206 | r->parent = hba_res; | 207 | r->parent = hba_res; |
207 | 208 | ||
208 | /* reverse link is harder *sigh* */ | 209 | /* reverse link is harder *sigh* */ |