OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b7d9a9
)
modesetting/helper: fix array overrun - count should be reset here
author
Dave Airlie
<airlied@linux.ie>
Sat, 12 Jul 2008 06:32:09 +0000
(16:32 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Sat, 12 Jul 2008 06:32:09 +0000
(16:32 +1000)
linux-core/drm_crtc_helper.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_crtc_helper.c
b/linux-core/drm_crtc_helper.c
index
18fc9d9
..
ec76aa9
100644
(file)
--- a/
linux-core/drm_crtc_helper.c
+++ b/
linux-core/drm_crtc_helper.c
@@
-566,7
+566,8
@@
int drm_crtc_helper_set_config(struct drm_mode_set *set)
ret = -EINVAL;
goto fail_no_encoder;
}
-
+
+ count = 0;
list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
if (!connector->encoder)
continue;