aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2021-11-08 16:10:59 +0100
committerTakashi Iwai <[email protected]>2021-11-09 07:14:22 +0100
commitad4f93ca41388f36ec40ec9c1d97b52177f25fa3 (patch)
treeddbd7b8878f2693f3aef588f817ce29c46895f3f /scripts/gdb/linux/utils.py
parent43d35ccc36dad52377dd349b2e3ea803b72c3906 (diff)
ALSA: memalloc: Use proper SG helpers for noncontig allocations
The recently introduced non-contiguous page allocation support helpers are using the simplified code to calculate the page and DMA address based on the vmalloc helpers, but this isn't quite right as the vmap is valid only for the direct DMA. This patch corrects those accessors to use the proper SG helpers instead. Fixes: a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation") Tested-by: Alex Xu (Hello71) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions