From: Linus Walleij linus.walleij@linaro.org Date: Mon, 6 Jan 2020 08:46:47 +0100
Use the netdevice struct device .parent field when calling dma_pool_create(): the .dma_coherent_mask and .dma_mask pertains to the bus device on the hardware (platform) bus in this case, not the struct device inside the network device. This makes the pool allocation work.
Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij linus.walleij@linaro.org
Networking changes don't use CC:'ing stable, please see the netdev FAQ under Documentation/
And net-next changes don't go to stable.
If you want to submit this bug fix, submit to 'net' and provide an appropriate Fixes: tag.
Thank you.