linux-sg2042/drivers/dma/sh
Vinod Koul 877d842507 dmaengine: sh: don't use dynamic static allocation
dynamic stack allocation in kernel is considered bad as kernel stack is low and
we get warns on few archs as reported by kbuild test robot

>> drivers/dma/sh/shdma-base.c:671:32: sparse: Variable length array is used.
>> drivers/dma/sh/shdma-base.c:701:1: warning: 'shdma_prep_dma_cyclic' uses
>> dynamic stack allocation [enabled by default]

Fix this by making a static array of 32 which should be sufficient for
shdma_prep_dma_cyclic which only user in kernel is audio and 32 periods for
audio seems quite sufficient atm

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2014-06-03 11:35:33 +05:30
..
Kconfig dmaengine: shdma: Enable driver compilation with COMPILE_TEST 2014-06-01 22:56:31 +05:30
Makefile shdma: add R-Car Audio DMAC peri peri driver 2014-03-29 19:38:09 +05:30
rcar-audmapp.c shdma: add R-Car Audio DMAC peri peri driver 2014-03-29 19:38:09 +05:30
rcar-hpbdma.c dmaengine: rcar-hpbdma: Include linux/err.h 2014-06-01 22:56:30 +05:30
shdma-arm.h DMA: shdma: add a header with common for ARM SoCs defines 2013-08-27 14:26:14 +05:30
shdma-base.c dmaengine: sh: don't use dynamic static allocation 2014-06-03 11:35:33 +05:30
shdma-of.c DMA: shdma: Fix warnings due to improper casts and printk formats 2014-03-06 11:35:23 +05:30
shdma-r8a73a4.c DMA: shdma: add r8a73a4 DMAC data to the device ID table 2013-08-27 14:26:21 +05:30
shdma.h DMA: shdma: add r8a73a4 DMAC data to the device ID table 2013-08-27 14:26:21 +05:30
shdmac.c dmaengine: shdmac: Include linux/err.h 2014-06-01 22:56:30 +05:30
sudmac.c dmaengine: sudmac: Include linux/err.h 2014-06-01 22:56:30 +05:30