projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf7c5d6
)
drm/nv50/disp: fix a potential oops in supervisor handling
author
Ben Skeggs
<bskeggs@redhat.com>
Mon, 16 Jun 2014 23:39:18 +0000
(09:39 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 17 Jun 2014 04:41:41 +0000
(14:41 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
b/drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
index 1e85f36c705f34faba1c93d94af337b1e4d90abc..26e962b7e702a07fabf713cbcd2ca00ac6527ae5 100644
(file)
--- a/
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
+++ b/
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
@@
-1270,7
+1270,7
@@
exec_clkcmp(struct nv50_disp_priv *priv, int head, int id, u32 pclk, u32 *conf)
i--;
outp = exec_lookup(priv, head, i, ctrl, &data, &ver, &hdr, &cnt, &len, &info1);
- if (!
data
)
+ if (!
outp
)
return NULL;
if (outp->info.location == 0) {