Skip to content
Commit d5b0d1b5 authored by Li Zefan's avatar Li Zefan Committed by Dave Airlie
Browse files

drm: don't cast a pointer to pointer of list_head



The casting is safe only when the list_head member is the first member of
the structure.

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent a96ca105
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment