Re: [PATCH net-next 1/1] forcedeth: replace pci_alloc_consistent with dma_alloc_coherent
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.
RE: [PATCH net-next 1/1] forcedeth: replace pci_alloc_consistent with dma_alloc_coherent
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) * > + (np->rx_ring_size + > + np->tx_ring_size), > + np->rx_ring.orig, np->ring_addr); ... That can't possibly be the best way to split those long lines. David