[PATCH net-next v7 02/14] net: microchip: fdma: rename contiguous dataptr helpers

Simon Horman horms at kernel.org
Wed Sep 23 01:49:38 PDT 2026


On Fri, Sep 18, 2026 at 01:33:54PM +0200, Daniel Machon wrote:
> When the FDMA library was introduced [1], two helpers to get the DMA and
> virtual address of a data buffer, in contiguous memory, were added. These
> helpers have had no callers until this series. I found the naming I
> initially used confusing and inconsistent.
> 
> Rename fdma_dataptr_get_contiguous() and
> fdma_dataptr_virt_get_contiguous() to fdma_dataptr_dma_addr_contiguous()
> and fdma_dataptr_virt_addr_contiguous(). This makes the pair symmetric
> and clarifies what type of address each returns.
> 
> [1]: commit 30e48a75df9c ("net: microchip: add FDMA library")
> 
> Tested-by: Herve Codina <herve.codina at bootlin.com>
> Signed-off-by: Daniel Machon <daniel.machon at microchip.com>

Reviewed-by: Simon Horman <horms at kernel.org>




More information about the linux-arm-kernel mailing list