diff options
| author | Andy Shevchenko <[email protected]> | 2019-01-30 19:48:44 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2019-02-04 09:04:22 +0000 |
| commit | 6454368a804c4955ccd116236037536f81e5b1f1 (patch) | |
| tree | de4d7bb2475c62f66a10ddfd403c78e4d4607902 /lib/assoc_array.c | |
| parent | Merge branch 'fix/brcm' into fixes (diff) | |
| download | kernel-6454368a804c4955ccd116236037536f81e5b1f1.tar.gz kernel-6454368a804c4955ccd116236037536f81e5b1f1.zip | |
dmaengine: dmatest: Abort test in case of mapping error
In case of mapping error the DMA addresses are invalid and continuing
will screw system memory or potentially something else.
[ 222.480310] dmatest: dma0chan7-copy0: summary 1 tests, 3 failures 6 iops 349 KB/s (0)
...
[ 240.912725] check: Corrupted low memory at 00000000c7c75ac9 (2940 phys) = 5656000000000000
[ 240.921998] check: Corrupted low memory at 000000005715a1cd (2948 phys) = 279f2aca5595ab2b
[ 240.931280] check: Corrupted low memory at 000000002f4024c0 (2950 phys) = 5e5624f349e793cf
...
Abort any test if mapping failed.
Fixes: 4076e755dbec ("dmatest: convert to dmaengine_unmap_data")
Cc: Dan Williams <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
