]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 13:52:04 +0000 (15:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2020 23:00:26 +0000 (16:00 -0700)
commit600670be8f2f991d4c930e2f3b84bae68a8a70ff
tree27801ee476d56f5250a3359df0f0fa932162e782
parentc51155c80b97f2f7f7f3da65e55aeedbb59ff80a
net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls

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

Fixes: da1e1e902fa9 ("net: sgi: ioc3-eth: ensure tx ring is 16k aligned.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c