summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2025-06-16 14:09:32 +0200
committerXu Yilun <yilun.xu@linux.intel.com>2025-06-18 10:36:55 +0800
commit37e00703228ab44d0aacc32a97809a4f6f58df1b (patch)
treed94e37a1982ee727dd253a376fa47ae32f8a0b75 /scripts/gdb/linux/lists.py
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
zynq_fpga: use sgtable-based scatterlist wrappers
Use common wrappers operating directly on the struct sg_table objects to fix incorrect use of statterlists related calls. dma_unmap_sg() function has to be called with the number of elements originally passed to the dma_map_sg() function, not the one returned in sgtable's nents. CC: stable@vger.kernel.org Fixes: 425902f5c8e3 ("fpga zynq: Use the scatterlist interface") Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20250616120932.1090614-1-m.szyprowski@samsung.com Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions