[PATCH 2/9] dma-mapping: fix the prototype of dma_unmap_single()

Simon Glass sjg at chromium.org
Wed Feb 5 01:16:50 CET 2020


On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
>
> dma_unmap_single() takes the dma address, not virtual address.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
>  arch/arm/include/asm/dma-mapping.h   | 4 +---
>  arch/nds32/include/asm/dma-mapping.h | 4 +---
>  arch/riscv/include/asm/dma-mapping.h | 4 +---
>  arch/x86/include/asm/dma-mapping.h   | 4 +---
>  drivers/mmc/tmio-common.c            | 2 +-
>  drivers/mtd/nand/raw/denali.c        | 2 +-
>  drivers/net/macb.c                   | 2 +-
>  drivers/usb/dwc3/core.c              | 6 +++---
>  drivers/usb/gadget/udc/udc-core.c    | 2 +-
>  9 files changed, 11 insertions(+), 19 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

But please also add a comment to the header files.


More information about the U-Boot mailing list