projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1cec6d
)
nouveau: fix drm version check some more
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 21 Sep 2010 03:02:07 +0000
(13:02 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 21 Sep 2010 03:02:07 +0000
(13:02 +1000)
... and make a mental note to not push commits before having coffee
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
nouveau/nouveau_device.c
patch
|
blob
|
history
diff --git
a/nouveau/nouveau_device.c
b/nouveau/nouveau_device.c
index
91f9a27
..
9a091fb
100644
(file)
--- a/
nouveau/nouveau_device.c
+++ b/
nouveau/nouveau_device.c
@@
-49,7
+49,7
@@
nouveau_device_open_existing(struct nouveau_device **dev, int close,
if (!ver)
return -EINVAL;
- if ((ver->version_major == 0 && ver->version_patchlevel != 16)
&&
+ if ((ver->version_major == 0 && ver->version_patchlevel != 16)
||
ver->version_major > 1) {
nouveau_device_close((void *)&nvdev);
return -EINVAL;