Skip to content
Snippets Groups Projects
Commit 4d86ec7a authored by EunBong Song's avatar EunBong Song Committed by Konrad Rzeszutek Wilk
Browse files

swiotlb: replace dma_length with sg_dma_len() macro


This patch replace dma_length in "lib/swiotlb.c" to sg_dma_len() macro,
because the build error can occur if CONFIG_NEED_SG_DMA_LENGTH is not
set, and CONFIG_SWIOTLB is set.

Singed-off-by: default avatarEunBong Song <eunb.song@samsung.com>
Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent cd9151e2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment