[PATCH 1/9] dma-mapping: fix the prototype of dma_map_single()

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


On Tue, 4 Feb 2020 at 04:09, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
>
> Make dma_map_single() return the dma address, and remove the
> pointless volatile.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
>  arch/arm/include/asm/dma-mapping.h   | 5 +++--
>  arch/nds32/include/asm/dma-mapping.h | 5 +++--
>  arch/riscv/include/asm/dma-mapping.h | 5 +++--
>  arch/x86/include/asm/dma-mapping.h   | 5 +++--
>  4 files changed, 12 insertions(+), 8 deletions(-)

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

But please can you add a full function comment in the header files?


More information about the U-Boot mailing list