diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2012-06-04 19:28:07 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-06-04 22:57:37 (GMT) |
commit | 7baab9acfb25934a32541d617cbc676abd1fbf5b (patch) | |
tree | de78b151877babafbec27b4ae9289673d633a518 /lib/klist.c | |
parent | 9d60ef2bd87f201c509cfae13ba6c9013446673d (diff) | |
download | linux-7baab9acfb25934a32541d617cbc676abd1fbf5b.tar.xz |
firewire: ohci: sanity-check MMIO resource
pci_request_region() does not fail on resources that have not been
allocated by the BIOS or by the kernel, so to avoid accessing
registers that are not there, we have to check for this explicitly.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions