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:
e67cd7d
)
fix typo
author
Maarten Maathuis
<madman2003@gmail.com>
Sun, 22 Jun 2008 16:58:04 +0000
(18:58 +0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Sun, 22 Jun 2008 16:58:04 +0000
(18:58 +0200)
linux-core/nv50_crtc.c
patch
|
blob
|
history
diff --git
a/linux-core/nv50_crtc.c
b/linux-core/nv50_crtc.c
index
f34e727
..
887d6ec
100644
(file)
--- a/
linux-core/nv50_crtc.c
+++ b/
linux-core/nv50_crtc.c
@@
-489,7
+489,7
@@
int nv50_crtc_create(struct drm_device *dev, int index)
crtc->mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL);
crtc->native_mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL);
- if (!crtc->mode || crtc->native_mode) {
+ if (!crtc->mode ||
!
crtc->native_mode) {
rval = -ENOMEM;
goto out;
}