diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index 68d58c414cf0d67ad5fa975f6ae144a9b0c40012..5589358b684d7ab3e19cefe0bb83aa775ac59fda 100644 --- a/drivers/dma/dmatest.c +++ b/drivers/dma/dmatest.c @@ -540,7 +540,7 @@ static int dmatest_add_channel(struct dma_chan *chan) struct dmatest_chan *dtc; struct dma_device *dma_dev = chan->device; unsigned int thread_count = 0; - unsigned int cnt; + int cnt; dtc = kmalloc(sizeof(struct dmatest_chan), GFP_KERNEL); if (!dtc) {