Re: Passing NULL dev to dma_alloc_coherent() allowed or not?

From: Christoph Hellwig
Date: Sun Jun 28 2020 - 03:10:20 EST


You can't pass NULL. The synclink case is dead code as we stopped
supporting non-PCI adapters a while ago. I had a patch to remove
the !PCI code a while ago, but it seems like it never made it upstream.

The staging code is, well .. staging code.