diff options
author | Dave Jiang <dave.jiang@intel.com> | 2016-11-29 13:22:01 -0700 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-11-30 08:50:18 +0530 |
commit | 31d182574a0ed2f2a540e2df51b245f3cec955e9 (patch) | |
tree | 1c2cf22f89fa5fb8e811f3bd84bea377f1fe5154 /drivers/dma/dmatest.c | |
parent | 5c279b1003f9070b29d9e1e4da7b61126c5a46bb (diff) | |
download | linux-31d182574a0ed2f2a540e2df51b245f3cec955e9.tar.gz linux-31d182574a0ed2f2a540e2df51b245f3cec955e9.tar.bz2 linux-31d182574a0ed2f2a540e2df51b245f3cec955e9.zip |
dmaengine: fix spacing issues for dmatest
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r-- | drivers/dma/dmatest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index cf76fc6149e5..3b358c46aec9 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c @@ -454,7 +454,7 @@ static int dmatest_func(void *data) src_cnt = min_odd(params->pq_sources | 1, dma_maxpq(dev, 0)); dst_cnt = 2; - pq_coefs = kmalloc(params->pq_sources+1, GFP_KERNEL); + pq_coefs = kmalloc(params->pq_sources + 1, GFP_KERNEL); if (!pq_coefs) goto err_thread_type; @@ -463,7 +463,7 @@ static int dmatest_func(void *data) } else goto err_thread_type; - thread->srcs = kcalloc(src_cnt+1, sizeof(u8 *), GFP_KERNEL); + thread->srcs = kcalloc(src_cnt + 1, sizeof(u8 *), GFP_KERNEL); if (!thread->srcs) goto err_srcs; for (i = 0; i < src_cnt; i++) { @@ -473,7 +473,7 @@ static int dmatest_func(void *data) } thread->srcs[i] = NULL; - thread->dsts = kcalloc(dst_cnt+1, sizeof(u8 *), GFP_KERNEL); + thread->dsts = kcalloc(dst_cnt + 1, sizeof(u8 *), GFP_KERNEL); if (!thread->dsts) goto err_dsts; for (i = 0; i < dst_cnt; i++) { @@ -549,7 +549,7 @@ static int dmatest_func(void *data) filltime = ktime_add(filltime, diff); } - um = dmaengine_get_unmap_data(dev->dev, src_cnt+dst_cnt, + um = dmaengine_get_unmap_data(dev->dev, src_cnt + dst_cnt, GFP_KERNEL); if (!um) { failed_tests++; |