aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-03-14 10:09:44 +0100
committerHerbert Xu <[email protected]>2019-03-22 20:57:28 +0800
commit5db46ac29a6797541943d3c4081821747e342732 (patch)
tree2b1797b0ef2ca270732433aeee9451b90db39e16 /tools/perf/scripts/python/bin/stackcollapse-report
parent6570737c7fa04747d09cbc966972cedd3c0af00b (diff)
crypto: ccree - reduce kernel stack usage with clang
Building with clang for a 32-bit architecture runs over the stack frame limit in the setkey function: drivers/crypto/ccree/cc_cipher.c:318:12: error: stack frame size of 1152 bytes in function 'cc_cipher_setkey' [-Werror,-Wframe-larger-than=] The problem is that there are two large variables: the temporary 'tmp' array and the SHASH_DESC_ON_STACK() declaration. Moving the first into the block in which it is used reduces the total frame size to 768 bytes, which seems more reasonable and is under the warning limit. Fixes: 63ee04c8b491 ("crypto: ccree - add skcipher support") Signed-off-by: Arnd Bergmann <[email protected]> Acked-By: Gilad Ben-Yossef <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions