projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355a701
)
drm/atomic: Add missing ERR_PTR casting
author
Daniel Vetter
<
[email protected]
>
Thu, 20 Nov 2014 08:53:35 +0000
(09:53 +0100)
committer
Dave Airlie
<
[email protected]
>
Fri, 21 Nov 2014 02:13:44 +0000
(12:13 +1000)
This is an oversight from
commit
f52b69f1ecfdd7ef6867a257620258c09e569552
Author: Daniel Vetter <
[email protected]
>
Date: Wed Nov 19 18:38:08 2014 +0100
drm/atomic: Don't overrun the connector array when hotplugging
Cc: Dave Airlie <
[email protected]
>
Cc: Rob Clark <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Reviewed-by: Thierry Reding <
[email protected]
>
Signed-off-by: Dave Airlie <
[email protected]
>
drivers/gpu/drm/drm_atomic.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_atomic.c
b/drivers/gpu/drm/drm_atomic.c
index 3624632084e26daeb8fa4210b9460d0b056ee425..d3b46746b611a84a56432f80e608e61d7e5b4203 100644
(file)
--- a/
drivers/gpu/drm/drm_atomic.c
+++ b/
drivers/gpu/drm/drm_atomic.c
@@
-318,7
+318,7
@@
drm_atomic_get_connector_state(struct drm_atomic_state *state,
*/
if (index >= state->num_connector) {
DRM_DEBUG_KMS("Hot-added connector would overflow state array, restarting\n");
- return
-EAGAIN
;
+ return
ERR_PTR(-EAGAIN)
;
}
if (state->connector_states[index])