diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2007-12-06 13:01:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:06:07 -0800 |
commit | abe3ed14d39adcea9ae186cf741b15d11544458f (patch) | |
tree | 65f0e7df2a2fea79541815a4a50349c4f020f533 /security | |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions