diff options
author | Takashi Iwai | 2020-06-15 18:00:43 +0200 |
---|---|---|
committer | Takashi Iwai | 2020-06-15 18:01:42 +0200 |
commit | 28e60dbb83f76b18acade913dfdb029cd908c9b0 (patch) | |
tree | fc8191cf2feb2257a8ee5fe85b9d34a1dee4cfab /net/xdp/xdp_umem.c | |
parent | d955dab33af4ebff0f6c486da216ebbf590eb7e4 (diff) |
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 'net/xdp/xdp_umem.c')
0 files changed, 0 insertions, 0 deletions