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

From
Christoph Hellwig <hch@lst.de>
Date
2019-02-01 08:48:10
Also in
alsa-devel, linux-iommu, linux-mips, lkml, netdev
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 struct device,
besides that there also is some arch code that needs separate handling,
a driver that should not use the DMA API at all, and one that is
a complete basket case to be deal with separately.
Thread (41 messages) 41 messages, 7 authors, last reply 2019-02-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help