Re: [PATCH v7 07/15] swiotlb: Update is_swiotlb_active to add a struct device argument

From
Christoph Hellwig <hch@lst.de>
Date
2021-05-27 13:28:31
Also in
intel-gfx, linux-devicetree, linux-iommu, linux-pci, lkml, xen-devel
Reply to
Claire Chang, 2021-05-18
+	if (is_swiotlb_active(NULL)) {
Passing a NULL argument to this doesn't make sense.  They all should have
a struct device at hand, you'll just need to dig for it.

And this function should be about to go away anyway, but until then we
need to do this properly.
Thread (51 messages) 51 messages, 6 authors, last reply 2021-05-31
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