]> Pileus Git - ~andy/linux/commit
sh: Bail out early on PCI resource conflicts.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 29 Jan 2010 13:22:27 +0000 (22:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 29 Jan 2010 13:22:27 +0000 (22:22 +0900)
commitac8ab54a8e41a5ed0ee2161d45b6dc855490989f
tree6872b5d5942338d43ea520060e2b3f2a4287f652
parenta45635dfb08a1fa2cf77bf1f2c4074961ce2e625
sh: Bail out early on PCI resource conflicts.

Presently we just call in to request_resource() for the ioport and iomem
resources without checking for errors. This has already hidden a couple
of bugs, so add some error handling in for good measure.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci.c