commit | abe3ed14d39adcea9ae186cf741b15d11544458f | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Thu Dec 06 13:01:21 2007 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:06:07 2008 -0800 |
tree | 65f0e7df2a2fea79541815a4a50349c4f020f533 | |
parent | 6228c0aea544f5292977e6b27cd231a4ea137a62 [diff] |
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 <lizf@cn.fujitsu.com> Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>