Re: [PATCH] crypto: ccp - Reduce maximum stack usage

2019-07-26 Thread Herbert Xu
Arnd Bergmann wrote: > Each of the operations in ccp_run_cmd() needs several hundred > bytes of kernel stack. Depending on the inlining, these may > need separate stack slots that add up to more than the warning > limit, as shown in this clang based build: > > drivers/crypto/ccp/ccp-ops.c:871:12:

[PATCH] crypto: ccp - Reduce maximum stack usage

2019-07-12 Thread Arnd Bergmann
Each of the operations in ccp_run_cmd() needs several hundred bytes of kernel stack. Depending on the inlining, these may need separate stack slots that add up to more than the warning limit, as shown in this clang based build: drivers/crypto/ccp/ccp-ops.c:871:12: error: stack frame size of 1164 b