commit | 3cfcda2aee9446b30d1e0fefc11eeffe95fa6430 | [log] [tgz] |
---|---|---|
author | Clément Léger <clement.leger@bootlin.com> | Mon Dec 13 09:26:51 2021 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 13 14:51:21 2021 +0000 |
tree | 147b9b8796d3bfe38e6dd2730b0deea8eab7a793 | |
parent | b26980ab2a9776e5427d784fbafb1a01269f4001 [diff] |
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: kernel test robot <lkp@intel.com> Fixes: 753a026cfec1 ("net: ocelot: add FDMA support") Signed-off-by: Clément Léger <clement.leger@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>