diff options
| author | Scott Wood <[email protected]> | 2019-05-09 21:08:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-24 18:32:12 +0000 |
| commit | 13069847a475b60069918dc9971f5adb42811ce3 (patch) | |
| tree | 94ba9ceda4e4f9c0f6998ce93257a526a1a5c21a /drivers/fpga/dfl.c | |
| parent | fpga: stratix10-soc: fix use-after-free on s10_init() (diff) | |
| download | kernel-13069847a475b60069918dc9971f5adb42811ce3.tar.gz kernel-13069847a475b60069918dc9971f5adb42811ce3.zip | |
fpga: dfl: afu: Pass the correct device to dma_mapping_error()
dma_mapping_error() was being called on a different device struct than
what was passed to map/unmap. Besides rendering the error checking
ineffective, it caused a debug splat with CONFIG_DMA_API_DEBUG.
Signed-off-by: Scott Wood <[email protected]>
Acked-by: Wu Hao <[email protected]>
Acked-by: Moritz Fischer <[email protected]>
Acked-by: Alan Tull <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/dfl.c')
0 files changed, 0 insertions, 0 deletions
