diff options
author | 2021-11-05 11:21:03 +0100 | |
---|---|---|
committer | 2021-11-05 11:27:10 +0100 | |
commit | dce9446192439eaac81c21f517325fb473735e53 (patch) | |
tree | 23a1486d87c34cf4e496c18f3f1009ba45fc8563 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "ALSA: memalloc: Convert x86 SG-buffer handling with non-contiguous type" (diff) | |
download | linux-dev-dce9446192439eaac81c21f517325fb473735e53.tar.xz linux-dev-dce9446192439eaac81c21f517325fb473735e53.zip |
ALSA: memalloc: Catch call with NULL snd_dma_buffer pointer
Although we've covered all calls with NULL dma buffer pointer, so far,
there may be still some else in the wild. For catching such a case
more easily, add a WARN_ON_ONCE() in snd_dma_get_ops().
Fixes: 37af81c5998f ("ALSA: core: Abstract memory alloc helpers")
Link: https://lore.kernel.org/r/20211105102103.28148-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions