]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:24:07 +0000 (08:24 +0200)
commite569c7c91dc0366498978f334be0680aad5df839
tree410472246d677268bbc4e3934cf5c77bd54db6d4
parent1d8fe1832dab3a1087ed1f4ad7689dea859d12c1
net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls

[ Upstream commit edab74e9cb1d073c70add0f9b75e17aebf0598ff ]

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

Fixes: 369a782af0f1 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/sgi/ioc3-eth.c