summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-10-03 09:18:01 +0530
committerVinod Koul <vinod.koul@intel.com>2016-10-03 09:18:01 +0530
commitf492908067d0dc4066706217938344b5e7fd0016 (patch)
treee026beb4cff071b9bf3f8117586be4ce38b8fdad /drivers/dma
parentddfaadfa7f4378fe15237086793f6aed5cbff9a3 (diff)
parent2eab9b1a3006b4f7bf49c55ce23943170a0068db (diff)
downloadlinux-f492908067d0dc4066706217938344b5e7fd0016.tar.bz2
Merge branch 'topic/ioatdma' into for-linus
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ioat/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ioat/init.c b/drivers/dma/ioat/init.c
index 7145f7716a92..015f7110b96d 100644
--- a/drivers/dma/ioat/init.c
+++ b/drivers/dma/ioat/init.c
@@ -828,7 +828,7 @@ static int ioat_xor_val_self_test(struct ioatdma_device *ioat_dma)
dest_dma = dma_map_page(dev, dest, 0, PAGE_SIZE, DMA_FROM_DEVICE);
if (dma_mapping_error(dev, dest_dma))
- goto dma_unmap;
+ goto free_resources;
for (i = 0; i < IOAT_NUM_SRC_TEST; i++)
dma_srcs[i] = DMA_ERROR_CODE;