]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: spider_net: Fix the size used in a 'dma_free_coherent()' call
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 13:53:33 +0000 (15:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 23:01:11 +0000 (16:01 -0700)
commit36f28f7687a9ce665479cce5d64ce7afaa9e77ae
tree53877d9ffd567e4d30006da6090a8bee127bf421
parentedab74e9cb1d073c70add0f9b75e17aebf0598ff
net: spider_net: Fix the size used in a 'dma_free_coherent()' call

Update the size used in 'dma_free_coherent()' in order to match the one
used in the corresponding 'dma_alloc_coherent()', in
'spider_net_init_chain()'.

Fixes: d4ed8f8d1fb7 ("Spidernet DMA coalescing")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/spider_net.c