[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <156fec7b-1a9f-4660-b1c3-65a8b9cd1405@app.fastmail.com>
Date: Fri, 18 Aug 2023 14:38:23 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Christophe Leroy" <christophe.leroy@...roup.eu>,
"Michael Ellerman" <mpe@...erman.id.au>,
"Nicholas Piggin" <npiggin@...il.com>,
"Christoph Hellwig" <hch@....de>,
"Marek Szyprowski" <m.szyprowski@...sung.com>,
"Robin Murphy" <robin.murphy@....com>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
iommu@...ts.linux.dev
Subject: Re: [PATCH] dma-mapping, powerpc: Move arch_dma_set_mask() prototype into
dma-map-ops.h
On Fri, Aug 18, 2023, at 09:55, Christophe Leroy wrote:
> To fix the following error,
>
> CC arch/powerpc/kernel/dma-mask.o
> arch/powerpc/kernel/dma-mask.c:7:6: error: no previous prototype for
> 'arch_dma_set_mask' [-Werror=missing-prototypes]
> 7 | void arch_dma_set_mask(struct device *dev, u64 dma_mask)
> | ^~~~~~~~~~~~~~~~~
>
> Move arch_dma_set_mask() definition into dma-map-ops.h and
> include it in arch/powerpc/kernel/dma-mask.c
>
> Signed-off-by: Christophe Leroy <christophe.leroy@...roup.eu>
> Cc: Arnd Bergmann <arnd@...db.de>
> ---
I sent the same patch, and this is already in linux-next as
3d6f126b15d9 ("dma-mapping: move arch_dma_set_mask() declaration
to header")
Arnd
Powered by blists - more mailing lists