# Re: \[alsa-devel\] don't pass a NULL struct device to DMA API functions

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2019-02-01 16:10:01 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2019/02/5501528
- Thread: https://ratatoskr.run/linux-mips/2019/02/5501082/t.md

```text
On Fri, Feb 01, 2019 at 02:16:08PM +0100, Takashi Iwai wrote:
> Actually there are a bunch of ISA sound drivers that still call
> allocators with NULL device.
> 
> The patch below should address it, although it's only compile-tested.

Oh, I missed these "indirect" calls.  This looks good to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>
```
