Re: [PATCH v2 5/7] sparc32: Do not select GENERIC_ISA_DMA

From: Andreas Larsson
Date: Fri Mar 08 2024 - 15:04:12 EST


On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote:
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
>
> sparc32 do not support generic isa dma, so do not select the symbol.
>
> This fixes the following warnings:
> dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes]
> dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes]
>
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally")
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> # build-tested
> Cc: Andreas Larsson <andreas@xxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Maciej W. Rozycki <macro@xxxxxxxxxxx>
> ---
> arch/sparc/Kconfig | 4 ----
> 1 file changed, 4 deletions(-)

Reviewed-by: Andreas Larsson <andreas@xxxxxxxxxxx>

Picking this up to my for-next.

Thanks,
Andreas