]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: don't cast a pointer to pointer of list_head
authorLi Zefan <lizf@cn.fujitsu.com>
Sun, 16 Dec 2007 23:47:19 +0000 (09:47 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:39 +0000 (15:09 +1000)
commitd5b0d1b5bda979b077cf011e79fc19677663afc4
treeaa8bd82793341bdbf18589eed8a91fbe511cddfe
parenta96ca105a68bc66c564accdfeb81c36e1d5d46b3
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>
drivers/char/drm/i915_irq.c