Files
kernel/include/linux
Eric Auger 0653275001 dma-mapping: use dma_get_mask in dma_addressing_limited
We currently have cases where the dma_addressing_limited() gets
called with dma_mask unset. This causes a NULL pointer dereference.

Use dma_get_mask() accessor to prevent the crash.

Fixes: b866455423 ("dma-mapping: add a dma_addressing_limited helper")
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2019-07-23 17:43:58 +02:00
..
2019-07-10 09:00:57 -06:00
2019-07-10 09:00:57 -06:00
2019-07-10 09:00:57 -06:00
2019-07-18 09:49:30 +02:00
2019-07-08 19:25:19 -07:00
2019-07-09 14:15:37 -07:00
2019-07-16 19:23:25 -07:00
2019-07-09 14:32:14 -06:00
2019-07-12 11:05:43 -07:00
2019-07-10 09:00:57 -06:00