summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/dino.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2009-08-02 15:17:37 +0200
committerHelge Deller <deller@gmx.de>2009-08-02 15:17:37 +0200
commit1e0deabd35f210f22c03cc734a0335c07ae71ff3 (patch)
treec58f29a0b6ecc8343cfe8f43a99bba042807b5f1 /drivers/parisc/dino.c
parentc6fe6b0783a8fd923d11dd0388cbd561ff15bdf1 (diff)
downloadlinux-1e0deabd35f210f22c03cc734a0335c07ae71ff3.tar.bz2
parisc: dino.c - check return value of pci_assign_resource()
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/dino.c')
-rw-r--r--drivers/parisc/dino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index c590974e9815..d69bde6a2343 100644
--- 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,