summaryrefslogtreecommitdiffstats
path: root/sound/core/sgbuf.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-06-15 18:00:43 +0200
committerTakashi Iwai <tiwai@suse.de>2020-06-15 18:01:42 +0200
commit28e60dbb83f76b18acade913dfdb029cd908c9b0 (patch)
treefc8191cf2feb2257a8ee5fe85b9d34a1dee4cfab /sound/core/sgbuf.c
parentd955dab33af4ebff0f6c486da216ebbf590eb7e4 (diff)
downloadlinux-28e60dbb83f76b18acade913dfdb029cd908c9b0.tar.bz2
ALSA: memalloc: Initialize all fields of snd_dma_buffer properly
Some fields in snd_dma_buffer aren't touched in snd_dma_alloc_pages() and might be left uninitialized. Let's clear all fields properly, so that we can use a NULL check (e.g. dmab->private_data) as conditional in a later patch. Link: https://lore.kernel.org/r/20200615160045.2703-3-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/sgbuf.c')
0 files changed, 0 insertions, 0 deletions