Re: [PATCH 3/3] wireless/libertas: don't cast a pointer to pointer of list_head

2007-12-06 Thread Holger Schurig
> BTW: I'm not so sure where this patch should go to. To <[EMAIL PROTECTED]>, as Dan Williams (libertas maintainer) monitors this list. The wireless development tree is wireless-2.6, branch everything. You patch doesn't apply to this tree currently, but it's easy to fix. I'll bring it in shape

[PATCH 3/3] wireless/libertas: don't cast a pointer to pointer of list_head

2007-12-06 Thread Li Zefan
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 *. BTW: I'm not so sure where this patch should go to. Signed-off-by: Li Zefan <[EMAIL PROTECTED]> --- drivers/net/wireless/l