Re: remove NULL struct device support in the DMA API

From: Christoph Hellwig
Date: Wed Apr 03 2019 - 11:36:09 EST


Any comments on the remaining patches? I'd like to give this series
a couple weeks of soaking in linux-next before the end of the merge
window, so reviews would be apprciated.

On Thu, Mar 21, 2019 at 03:52:28PM -0700, Christoph Hellwig wrote:
> 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, and many implementations
> have been broken for NULL device support for a while.
>
> This series removes the few remaning users that weren't picked up in
> the last merge window and then removes core support for this "feature".
>
> A git tree is also available at:
>
> git://git.infradead.org/users/hch/misc.git dma-remove-NULL-dev-support
>
> Gitweb:
>
> http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/dma-remove-NULL-dev-support
> _______________________________________________
> iommu mailing list
> iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/iommu
---end quoted text---