From: Li Zefan Date: Thu, 6 Dec 2007 12:01:21 +0000 (+0100) Subject: libertas: don't cast a pointer to pointer of X-Git-Tag: v2.6.25-rc1~1162^2~434 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abe3ed14d39adcea9ae186cf741b15d11544458f;p=pandora-kernel.git libertas: don't cast a pointer to pointer of Don't cast struct foo * to struct list_head *, it's safe only when the list member is the first member of struct foo. Also don't cast struct list_head * to struct foo *. Signed-off-by: Li Zefan Signed-off-by: Holger Schurig Signed-off-by: David Woodhouse Signed-off-by: John W. Linville --- Reading git-diff-tree failed