net: mvpp2: Fix DMA address mask size
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Wed, 18 Apr 2018 09:14:44 +0000 (11:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 17:12:14 +0000 (13:12 -0400)
commitda42bb271305d68df6cbf99eed90542f1f1ee1c9
tree39af312c2496a35997bc77faf4ea3596940759c6
parentbb9aaaa1849eed763c6b7f20227a8a03300d4421
net: mvpp2: Fix DMA address mask size

PPv2 TX/RX descriptors uses 40bits DMA addresses, but 41 bits masks were
used (GENMASK_ULL(40, 0)).

This commit fixes that by using the correct mask.

Fixes: e7c5359f2eed ("net: mvpp2: introduce PPv2.2 HW descriptors and adapt accessors")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c