mirror of
https://github.com/lkl/linux.git
synced 2025-12-20 08:33:02 +09:00
We already dereferenced "dev" when we called get_dma_ops() so this NULL check is too late. We're not supposed to pass NULL "dev" pointers to dma_alloc_attrs(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
9.9 KiB
9.9 KiB