From: Zhu Yanjun
Date: Sat, 28 Oct 2017 08:25:30 -0400
> The functions pci_alloc_consistent is obsolete. So it is replaced
> with dma_alloc_coherent
>
> Signed-off-by: Zhu Yanjun
Applied, thanks.
From: Zhu Yanjun
> Sent: 28 October 2017 13:26
> The functions pci_alloc_consistent is obsolete. So it is replaced
> with dma_alloc_coherent
...
> + dma_free_coherent(&np->pci_dev->dev,
> + sizeof(struct ring_desc) *
> +
The functions pci_alloc_consistent is obsolete. So it is replaced
with dma_alloc_coherent
Signed-off-by: Zhu Yanjun
---
drivers/net/ethernet/nvidia/forcedeth.c | 61 ++---
1 file changed, 41 insertions(+), 20 deletions(-)
diff --git a/drivers/net/ethernet/nvidia/forc