summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-04-18 21:28:53 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-20 01:47:56 +0300
commit8d892d60941b00c86d2029c8a99db24ab4979673 (patch)
tree8bea4781f52df41b32006c6ca6c385c0c11ec34c /net/core
parented8157f1ebf1ae81a8fa2653e3f20d2076fad1c9 (diff)
downloadlinux-8d892d60941b00c86d2029c8a99db24ab4979673.tar.xz
net: ethernet: ixp4xx: Set the DMA masks explicitly
The former fix only papered over the actual problem: the ethernet core expects the netdev .dev member to have the proper DMA masks set, or there will be BUG_ON() triggered in kernel/dma/mapping.c. Fix this by simply copying dma_mask and dma_mask_coherent from the parent device. Fixes: e45d0fad4a5f ("net: ethernet: ixp4xx: Use parent dev for DMA pool") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions