From: Li Zefan Date: Thu, 6 Dec 2007 09:33:14 +0000 (+1100) Subject: [POWERPC] Don't cast a struct pointer to list_head pointer X-Git-Tag: v2.6.25-rc1~1131^2~229 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c6199c1551b7acd4f7898f073b40ae565d3b834;p=pandora-kernel.git [POWERPC] Don't cast a struct pointer to list_head pointer The casting is safe only when the list_head member is the first member of the structure, and even then it is better to use the address of the list_head structure member. Signed-off-by: Li Zefan Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed