mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-24 18:16:04 +00:00
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: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
a96ca105a6
commit
d5b0d1b5bd
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue