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

Masahiro Yamada masahiroy at kernel.org
Tue Feb 11 16:20:06 CET 2020


On Wed, Feb 5, 2020 at 9:17 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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.

Same here.

See my reply to 1/9.



--
Best Regards

Masahiro Yamada


More information about the U-Boot mailing list