]> Git Repo - linux.git/commit
drm: Initialize object type when using DRM_MODE() macro
authorVille Syrjälä <[email protected]>
Tue, 14 Aug 2012 10:53:38 +0000 (10:53 +0000)
committerDave Airlie <[email protected]>
Thu, 23 Aug 2012 23:38:31 +0000 (09:38 +1000)
commit22f5d115a2b087c977128f84ee557ad71530330e
tree19ef3050d451e01237e2649ecadbffc96ff7bb60
parentfea7a08acb13524b47711625eebea40a0ede69a0
drm: Initialize object type when using DRM_MODE() macro

DRM_MODE() macro doesn't initialize the type of the base drm object.
When a copy is made of the mode, the object type is overwritten with
zero, and the the object can no longer be found by
drm_mode_object_find() due to the type check failing.

Signed-off-by: Ville Syrjälä <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
include/drm/drm_crtc.h
This page took 0.075725 seconds and 4 git commands to generate.