Re: net: don't pass a NULL struct device to DMA API functions v2

2019-02-12 Thread David Miller
From: Christoph Hellwig Date: Mon, 11 Feb 2019 14:19:56 +0100 > We still have a few drivers which pass a NULL struct device pointer > to DMA API functions, which generally is a bad idea as the API > implementations rely on the device not only for ops selection, but > also the dma mask and various

net: don't pass a NULL struct device to DMA API functions v2

2019-02-11 Thread Christoph Hellwig
We still have a few drivers which pass a NULL struct device pointer to DMA API functions, which generally is a bad idea as the API implementations rely on the device not only for ops selection, but also the dma mask and various other attributes. This series contains all easy conversions to pass a