summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw
diff options
context:
space:
mode:
authorVinod Koul2014-06-02 06:10:00 +0200
committerVinod Koul2014-06-03 08:05:33 +0200
commit877d8425072b50965f6f04ea3a127928f66db72f (patch)
tree386a87da4c6631e4b25bab821a31ed370fe114f0 /drivers/dma/dw
parentdmaengine: sh: fix print specifier warnings (diff)
downloadkernel-qcow2-linux-877d8425072b50965f6f04ea3a127928f66db72f.tar.gz
kernel-qcow2-linux-877d8425072b50965f6f04ea3a127928f66db72f.tar.xz
kernel-qcow2-linux-877d8425072b50965f6f04ea3a127928f66db72f.zip
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>
Diffstat (limited to 'drivers/dma/dw')
0 files changed, 0 insertions, 0 deletions