mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
a45635dfb0
commit
ac8ab54a8e
1 changed files with 9 additions and 13 deletions
Loading…
Add table
Add a link
Reference in a new issue