diff options
author | Anand K Mistry <amistry@chromium.org> | 2020-04-20 16:08:34 +1000 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2020-05-21 00:10:08 +0800 |
commit | 9a67bc4aac82d18132e8a5677926f05d43e44e77 (patch) | |
tree | edd0bd1b54812bee275e4be3582b2cc9fac066e8 /arch/powerpc/kernel/stacktrace.c | |
parent | 424a3a706aac4ec70de4414f5bce62c09a3d76e1 (diff) |
drm/mediatek: Stop iterating dma addresses when sg_dma_len() == 0
If dma_map_sg() merges pages when creating the mapping, only the first
entries will have a valid sg_dma_address() and sg_dma_len(), followed by
entries with sg_dma_len() == 0.
Signed-off-by: Anand K Mistry <amistry@google.com>
Signed-off-by: Anand K Mistry <amistry@chromium.org>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions