Re: [PATCH] au1000_eth: stop using virt_to_bus()

From: Jakub Kicinski
Date: Wed Jun 08 2022 - 14:01:32 EST


On Tue, 7 Jun 2022 11:01:46 +0200 Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The conversion to the dma-mapping API in linux-2.6.11 was incomplete
> and left a virt_to_bus() call around. There have been a number of
> fixes for DMA mapping API abuse in this driver, but this one always
> slipped through.
>
> Change it to just use the existing dma_addr_t pointer, and make it
> use the correct types throughout the driver to make it easier to
> understand the virtual vs dma address spaces.
>
> Cc: Manuel Lauss <manuel.lauss@xxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Hi Arnd, this can go via net-next, right? The changes are simple
enough, we can try to slip them into -rc2 if necessary.