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