From: Alexey Khoroshilov
Date: Sat, 25 Mar 2017 01:48:08 +0300
> vlsi_alloc_ring() checks for dma mapping errors by comparison
> returned address with zero, while pci_dma_mapping_error() should be used.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey
Hello!
On 3/25/2017 1:48 AM, Alexey Khoroshilov wrote:
vlsi_alloc_ring() checks for dma mapping errors by comparison
DMA. Comparing.
returned address with zero, while pci_dma_mapping_error() should be used.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: A
vlsi_alloc_ring() checks for dma mapping errors by comparison
returned address with zero, while pci_dma_mapping_error() should be used.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov
---
drivers/net/irda/vlsi_ir.c | 8
1 file changed, 4