diff options
author | Helge Deller <deller@gmx.de> | 2009-08-02 15:17:37 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2009-08-02 15:17:37 +0200 |
commit | 1e0deabd35f210f22c03cc734a0335c07ae71ff3 (patch) | |
tree | c58f29a0b6ecc8343cfe8f43a99bba042807b5f1 /drivers/parisc | |
parent | c6fe6b0783a8fd923d11dd0388cbd561ff15bdf1 (diff) | |
download | linux-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')
-rw-r--r-- | drivers/parisc/dino.c | 2 |
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, |