projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6fe6b0
)
parisc: dino.c - check return value of pci_assign_resource()
author
Helge Deller
<deller@gmx.de>
Sun, 2 Aug 2009 13:17:37 +0000
(15:17 +0200)
committer
Helge Deller
<deller@gmx.de>
Sun, 2 Aug 2009 13:17:37 +0000
(15:17 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/dino.c
patch
|
blob
|
history
diff --git
a/drivers/parisc/dino.c
b/drivers/parisc/dino.c
index
c590974
..
d69bde6
100644
(file)
--- a/
drivers/parisc/dino.c
+++ b/
drivers/parisc/dino.c
@@
-614,7
+614,7
@@
dino_fixup_bus(struct pci_bus *bus)
dev_name(&bus->self->dev), i,
bus->self->resource[i].start,
bus->self->resource[i].end);
-
pci_assign_resource(bus->self, i
);
+
WARN_ON(pci_assign_resource(bus->self, i)
);
DBG("DEBUG %s after assign %d [0x%lx,0x%lx]\n",
dev_name(&bus->self->dev), i,
bus->self->resource[i].start,