diff options
Diffstat (limited to 'drivers/dma/dmatest.c')
-rw-r--r-- | drivers/dma/dmatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 68d58c414cf0..5589358b684d 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c | |||
@@ -540,7 +540,7 @@ static int dmatest_add_channel(struct dma_chan *chan) | |||
540 | struct dmatest_chan *dtc; | 540 | struct dmatest_chan *dtc; |
541 | struct dma_device *dma_dev = chan->device; | 541 | struct dma_device *dma_dev = chan->device; |
542 | unsigned int thread_count = 0; | 542 | unsigned int thread_count = 0; |
543 | unsigned int cnt; | 543 | int cnt; |
544 | 544 | ||
545 | dtc = kmalloc(sizeof(struct dmatest_chan), GFP_KERNEL); | 545 | dtc = kmalloc(sizeof(struct dmatest_chan), GFP_KERNEL); |
546 | if (!dtc) { | 546 | if (!dtc) { |