aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-07-22 12:44:43 +0000
committerVinod Koul <[email protected]>2019-07-22 15:27:35 +0000
commitf0414087a1b9933adac40974c3ea50261227b5f0 (patch)
tree034448fbc6dc7c4a12a656848fdb0fa48449d25f /scripts/gen_compile_commands.py
parentLinus 5.3-rc1 (diff)
downloadkernel-f0414087a1b9933adac40974c3ea50261227b5f0.tar.gz
kernel-f0414087a1b9933adac40974c3ea50261227b5f0.zip
dmaengine: dw-edma: fix unnecessary stack usage
Putting large constant data on the stack causes unnecessary overhead and stack usage: drivers/dma/dw-edma/dw-edma-v0-debugfs.c:285:6: error: stack frame size of 1376 bytes in function 'dw_edma_v0_debugfs_on' [-Werror,-Wframe-larger-than=] Mark the variable 'static const' in order for the compiler to move it into the .rodata section where it does no such harm. Fixes: 305aebeff879 ("dmaengine: Add Synopsys eDMA IP version 0 debugfs support") Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Gustavo Pimentel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions