Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 <lizf@cn.fujitsu.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
- Loading branch information