aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-11-07 17:39:11 +0100
committerTakashi Iwai <tiwai@suse.de>2021-11-07 17:55:05 +0100
commit8e537d5dec34cac746dd6abf6a83e5de3aa471fc (patch)
treed7bb2596181b3e1555715c762b233bf3bd3e55ca /tools/perf/scripts/python/export-to-postgresql.py
parentALSA: hda/realtek: Add quirk for ASUS UX550VE (diff)
downloadlinux-dev-8e537d5dec34cac746dd6abf6a83e5de3aa471fc.tar.xz
linux-dev-8e537d5dec34cac746dd6abf6a83e5de3aa471fc.zip
ALSA: PCM: Fix NULL dereference at mmap checks
The recent refactoring of mmap handling caused Oops on some devices that don't use the standard memory allocations. This patch addresses it by allowing snd_dma_buffer_mmap() helper to receive the NULL pointer dmab argument (and return an error appropriately). Fixes: a202bd1ad86d ("ALSA: core: Move mmap handler into memalloc ops") Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20211107163911.13534-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