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: NLi Zefan <lizf@cn.fujitsu.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NDave Airlie <airlied@linux.ie>
Showing
想要评论请 注册 或 登录