diff options
author | Adam Jackson <ajax@redhat.com> | 2009-12-14 16:19:35 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-12-14 16:32:10 -0500 |
commit | d4e008eeb9af7773edadd259cf55da43411f1a7f (patch) | |
tree | 5090a352e51adcf7a3ffed5a339b3860fa32845a /src | |
parent | 5e8d4c19b4f618e22b6e8e1ad3294d8708067474 (diff) |
Fix pci_device_open_io() to actually return something useful
Remember, code review just means we're all inept.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common_io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common_io.c b/src/common_io.c index bc5ba0a..b4aa360 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -114,6 +114,8 @@ pci_device_open_io(struct pci_device *dev, pciaddr_t base, pciaddr_t size) delete_io_handle(ret); return NULL; } + + return ret; } return NULL; |