dmaengine: ioatdma: Fix variable array length
authorDave Jiang <dave.jiang@intel.com>
Tue, 25 Aug 2015 19:58:11 +0000 (12:58 -0700)
committerVinod Koul <vinod.koul@intel.com>
Wed, 26 Aug 2015 02:23:58 +0000 (07:53 +0530)
commit7b7d0ca7778d359584859cb5e75965ad34f42533
tree6f4fdd86026e38af82fe190436d6001c911b1fc8
parent5c65cb93a3d066f52a109552572304675d5a52fc
dmaengine: ioatdma: Fix variable array length

Sparse reported:
drivers/dma/ioat/prep.c:637:27: sparse: Variable length array is used.

Assigning a static value for the array.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ioat/prep.c