https://github.com/torvalds/linux
Revision 22f5d115a2b087c977128f84ee557ad71530330e authored by Ville Syrjälä on 14 August 2012, 10:53:38 UTC, committed by Dave Airlie on 23 August 2012, 23:38:31 UTC
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>
1 parent fea7a08
History
Tip revision: 22f5d115a2b087c977128f84ee557ad71530330e authored by Ville Syrjälä on 14 August 2012, 10:53:38 UTC
drm: Initialize object type when using DRM_MODE() macro
Tip revision: 22f5d11
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 210.7 KB
Makefile -rw-r--r-- 46.1 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top