diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2012-08-14 12:53:38 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-08-24 01:38:31 +0200 |
commit | 22f5d115a2b087c977128f84ee557ad71530330e (patch) | |
tree | 19ef3050d451e01237e2649ecadbffc96ff7bb60 /include/drm/drm_mode.h | |
parent | Linux 3.6-rc3 (diff) | |
download | linux-22f5d115a2b087c977128f84ee557ad71530330e.tar.xz linux-22f5d115a2b087c977128f84ee557ad71530330e.zip |
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drm_mode.h')
0 files changed, 0 insertions, 0 deletions