mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
ALSA: vxpocket: Use container_of()
The vxpocket driver is using the explicit cast from the parent class pointer, but it'll be broken when the structure field randomization is applied. Use container_of() in a modern manner, instead. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5f976f5891
commit
2e0de6ea95
4 changed files with 23 additions and 21 deletions
Loading…
Add table
Add a link
Reference in a new issue