OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613c1e6
)
Fix a logic error in pci_device_openbsd_write().
author
Matthieu Herrb
<matthieu.herrb@laas.fr>
Tue, 25 Nov 2008 11:42:15 +0000
(12:42 +0100)
committer
Matthieu Herrb
<matthieu.herrb@laas.fr>
Tue, 25 Nov 2008 11:42:15 +0000
(12:42 +0100)
src/openbsd_pci.c
patch
|
blob
|
history
diff --git
a/src/openbsd_pci.c
b/src/openbsd_pci.c
index
7bb20d6
..
12547f0
100644
(file)
--- a/
src/openbsd_pci.c
+++ b/
src/openbsd_pci.c
@@
-186,7
+186,7
@@
pci_device_openbsd_write(struct pci_device *dev, const void *data,
{
struct pci_io io;
- if ((offset % 4)
== 0 || (size % 4) =
= 0)
+ if ((offset % 4)
!= 0 || (size % 4) !
= 0)
return EINVAL;
io.pi_sel.pc_bus = dev->bus;