projects
/
platform
/
upstream
/
libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e8d4c1
)
Fix pci_device_open_io() to actually return something useful
author
Adam Jackson
<ajax@redhat.com>
Mon, 14 Dec 2009 21:19:35 +0000
(16:19 -0500)
committer
Adam Jackson
<ajax@redhat.com>
Mon, 14 Dec 2009 21:32:10 +0000
(16:32 -0500)
Remember, code review just means we're all inept.
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/common_io.c
patch
|
blob
|
history
diff --git
a/src/common_io.c
b/src/common_io.c
index
bc5ba0a
..
b4aa360
100644
(file)
--- 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;