Files
Linux/drivers/dma
[email protected] b0b5ce1010 ioat: ioat_alloc_ring() failure handling.
If dma_alloc_coherent() returns NULL in ioat_alloc_ring(), ring
allocation must not proceed.

Until now, if the first call to dma_alloc_coherent() in
ioat_alloc_ring() returned NULL, the processing could proceed, failing
with NULL-pointer dereferencing further down the line.

Signed-off-by: Alexander Barabash <[email protected]>
Acked-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
2019-12-27 12:06:06 +05:30
..
…
…
2019-11-14 16:02:51 +05:30
…
…
…
2019-11-22 11:16:26 +05:30
…
…
…
…
…
…
…
…
…