Skip to content
Commit 3cfcda2a authored by Clément Léger's avatar Clément Léger Committed by David S. Miller
Browse files

net: ocelot: use dma_unmap_addr to get tx buffer dma_addr



dma_addr was declared using DEFINE_DMA_UNMAP_ADDR() which requires to
use dma_unmap_addr() to access it.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Fixes: 753a026c ("net: ocelot: add FDMA support")
Signed-off-by: default avatarClément Léger <clement.leger@bootlin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b26980ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment